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

Condense overrideable options in Context to ContextConfiguration immutable #1195

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

jasmith-hs
Copy link
Contributor

The overrideable flags within Context are getting a bit out of hand so I'm grouping these with an immutable class ContextConfiguration. I'm planning on adding a new flag in a coming PR and having Context directly have so many responsibilities is somewhat off-putting

Base automatically changed from basepom-59-11 to master September 4, 2024 14:06
@@ -19,6 +19,8 @@

<dep.plugin.jacoco.version>0.8.3</dep.plugin.jacoco.version>
<dep.plugin.javadoc.version>3.0.1</dep.plugin.javadoc.version>
<dep.hubspot-immutables.version>1.9</dep.hubspot-immutables.version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure about adding immutables into this. In the past, non-HS users have disliked any other dependencies as it makes it difficult to manage version conflicts. You could manually create a builder object for this instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since this is just a provided dependency and we don't need it at runtime, there's should be no potential for that kind of problem. It's not going to be included in the final jar since it's just used for compiling.

Copy link
Contributor

Choose a reason for hiding this comment

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

good point.

@jasmith-hs jasmith-hs merged commit f13f7ae into master Sep 9, 2024
5 checks passed
@jasmith-hs jasmith-hs deleted the context-configuration branch September 9, 2024 14:22
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