Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rework reflection detection with ssa #732

Merged
merged 2 commits into from
May 11, 2023
Merged

Conversation

lu4p
Copy link
Member

@lu4p lu4p commented May 4, 2023

This is significantly more robust, than the ast based detection and can record very complex cases of indirect parameter reflection.

Fixes #554

This is significantly more robust, than the ast based detection and can
record very complex cases of indirect parameter reflection.

Fixes burrowers#554
@lu4p lu4p requested review from mvdan and pagran May 4, 2023 16:33
reflect.go Outdated Show resolved Hide resolved
Copy link
Member

@mvdan mvdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM, just a few last nits. Happy to merge later today.

reflect.go Outdated Show resolved Hide resolved
reflect.go Outdated Show resolved Hide resolved
reflect.go Show resolved Hide resolved
@lu4p lu4p merged commit 1526ce7 into burrowers:master May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

using GORM results in obfuscated table names due to its indirect use of reflection
3 participants