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

feat(configuration): allow to configure the generated visibility modifier #51

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

jcornaz
Copy link
Contributor

@jcornaz jcornaz commented Sep 5, 2024

This adds the ability to configure which visibility modifier the generated code should have.

See: https://www.jooq.org/doc/3.15/manual/code-generation/codegen-advanced/codegen-config-generate/codegen-generate-visibility-modifier/

@ursjoss, I'm not sure about adding org.jooq.meta.jaxb.VisibilityModifier into the public API. It is convenient because it already exists, but I wonder if I should hide it behind our own enum. What do you think?

@jcornaz jcornaz requested review from ursjoss and a team as code owners September 5, 2024 12:58
@jcornaz jcornaz changed the title feat(configuration): allow to configure visibility modifier feat(configuration): allow to configure the generated visibility modifier Sep 5, 2024
@ursjoss
Copy link
Collaborator

ursjoss commented Sep 5, 2024

@ursjoss, I'm not sure about adding org.jooq.meta.jaxb.VisibilityModifier into the public API. It is convenient because it already exists, but I wonder if I should hide it behind our own enum. What do you think?

We are quite strongly coupled to jOOQ in this project by design. I don't really see a huge chance that we'd want to deviate from whatever Lukas will use in jOOQ, so I'd be fine with your current implementation.

@jcornaz jcornaz merged commit 4d82be5 into main Sep 5, 2024
4 checks passed
@jcornaz jcornaz deleted the configure-visibility-modifier branch September 5, 2024 14:25
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.

2 participants