-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Resilient enum for extension metadata & remove 'code' tag from resteasy-reactive-xxx #20322
Conversation
@aloubyansky If I get it right, to avoid any compatibility problem, we should introduce this with a minor version change (and not a patch). By doing this:
|
No, our command line tools are consuming whatever the registry serves. |
I am still not sure what makes it a breaking change. |
the legacy |
we should not be using hardcoded enums for things that are meant to be extendable. |
besides that - im not following why not showing "code" tag is important ? like what is this change actually for ? |
This patch will make it safe in the future.
Because they don't provide code (fake news :-p) I might have a way to make it non breaking. It will change the PR. Also, as we might be forced to break some day, we should introduce an |
2492396
to
8b1e0fc
Compare
I created an issue for #20323 |
thats great but with 2.2 being what we support now long term we do need to limit what we break here. At least we need to quite careful.
but code is not about them providing code starts just that a codestart is available for them,right? Maybe my question is what does default-codestart mean compared to what we already have?
Great - let me know when ready for review. |
Well for example, resteasy-qute provides a code, while resteasy-reactive-qute only provide the resteasy-react code (default), like any other extension btw (which provides the resteasy code by default)
it's ready for review now. |
Failing Jobs - Building 8b1e0fc
Full information is available in the Build summary check run. Failures⚙️ MicroProfile TCKs Tests #- Failing: tcks/resteasy-reactive
📦 tcks/resteasy-reactive✖ 📦 tcks/resteasy-reactive/target/testsuite/tests✖
|
Adding new enum values in the extension metadata will not break compatibility after this change, it will now use the default if an invalid value is found.
Currently, in code.quarkus.io all the resteasy-reactive extensions have the
code
tag. This is because we needed a way to avoid having the classic resteasy starter code with those extensions. As a workaround we used thecore
kind which isn't showing thecode
tag but still referencing the codestart. In a few versions we will be able to introducedefault-codestart
without much risk.