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

Generator composition needs to be redone and simplified #3

Open
karlvr opened this issue Nov 3, 2020 · 1 comment
Open

Generator composition needs to be redone and simplified #3

karlvr opened this issue Nov 3, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@karlvr
Copy link
Owner

karlvr commented Nov 3, 2020

There's a couple of different approaches to compositing the functionality of the generators and it's really confusing to work with. Particularly the type of the options method that extracts options from the CodegenConfig is hard to manage.

There must be a better way... I feel like I nearly had it nicely but it ended up being really complex.

e.g. the difference between how java-jaxrs-common uses the base generator etc and the way java-jaxrs-server uses java-jaxrs-common.

Maybe we can then extract the Jackson annotations out of java-jaxrs-common and they become a mixin module that provides template hooks.

@karlvr
Copy link
Owner Author

karlvr commented Nov 18, 2020

Stage one involved simplifying the types around the generators:

aa5a508
e11ec24
4864634

@karlvr karlvr self-assigned this Nov 18, 2020
@karlvr karlvr added the enhancement New feature or request label Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant