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

entc/gen: move select and group builders' scan functions to shared struct #2412

Merged
merged 1 commit into from Mar 18, 2022

Conversation

a8m
Copy link
Member

@a8m a8m commented Mar 17, 2022

Reduced the size of each generated query builder by ~400LOC, and replace it with 1 shared object in ent/ent.go with ~200LOC.

@a8m a8m force-pushed the sharedselect branch 2 times, most recently from aab71ca to 02ab824 Compare March 17, 2022 22:03
@a8m a8m changed the title entc/gen: move selectbuilder scan functions to shared struct entc/gen: move select and group builders' scan functions to shared struct Mar 17, 2022
@a8m a8m merged commit a7c1df2 into master Mar 18, 2022
@a8m a8m deleted the sharedselect branch March 18, 2022 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant