-
Notifications
You must be signed in to change notification settings - Fork 473
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
Pick a default set of media types for @EnableHypermediaSupport #1015
Comments
I remember having a discussion with @wilkinsona about this. The challenge here is to make things reasonably but at the same time to be careful that we don't necessarily change user's APIs just because we decide to add support for a new media type as that might be surprising. We also have to make up our minds on how explicitly activating media type support contributed via an extension plays into this. |
Is go for at least these options (if it’s not too complicated):
The names are up for grabs but these seem like the most logical groupings to me. If we also need something for HAL + HAL_FORMS I also wouldn’t object. |
Spring Boot simply has |
Closing this out in favor of letting #1060 support a "null" or "empty" configuration, where it will NOT enable any of our pre-built hypermedia types, and instead simply fall back to whatever custom ones the user has designed. |
Instead of manually requiring setting the
types
field when using this annotation, let's select a default set of media types, whether that's simplyHAL
to match what is done historically, or whether it's to enable all support media types.Or perhaps we can it be a little more sophisticated and have an
HypermediaType
type that says to activate all discovered media types dynamically.The text was updated successfully, but these errors were encountered: