-
Notifications
You must be signed in to change notification settings - Fork 269
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
Add feature flags to enable/disable compat APIs #1236
Comments
How should we implement this? The ideas I have:
@Apicurio/developers wdyt? |
I don't have a strong preference, but here are pros/cons I can think of:
|
Alternatively, we can do number 2, but use API names instead of paths. But that would prevent disabling versions if we want to allow that. |
I have a slight preference for 1 since I think that 2 would be more error-prone. |
I actually like (2) best for its flexibility. It could be used for more than just disabling of APIs. It could disable subpaths only (as Jakub mentioned), it could disable the UI, it could disable the apidocs, etc. So I think my vote is actually for (2), implemented in a very generic way:
Done and done. :) |
We have our core API, which should always be enabled. But it would be useful to be able to disable access to the various compatibility APIs we support: ccompat, ibmcompat, cncf
The text was updated successfully, but these errors were encountered: