-
Notifications
You must be signed in to change notification settings - Fork 93
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
fix #1689: properly add/remove federation directives #1690
base: main
Are you sure you want to change the base?
Conversation
* maven-cache the github setup-java action * fix smallrye#1670: make `@Key` and `@Provides` repeatable and allow directives to be repeatable. Update the federation annotation documentation and fix some deprecations. * smallrye#1670: make `@Key` and `@Provides` repeatable and allow directives to be repeatable. Update the federation annotation documentation and fix some deprecations. (squashed) * smallrye#1670: update documentation
a7af375
to
ef13e39
Compare
Right we could potentially do this logic in SmallRye, but I don't see where you scan the index to decide whether Federation should be enabled or not. How I imagine it could work: build/deployment time:
runtime:
This, I think would be the way with the least amount of logic needed to be handled by WildFly/Quarkus (about 4 lines of code in Quarkus, and zero in WildFly), and with the least stuff that needs to be done during runtime. |
(I also don't like that here you're always adding the directive types into the |
No description provided.