-
Notifications
You must be signed in to change notification settings - Fork 71
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
Meta Attributes #18
Comments
On second thought, these things could all possibly be useful to the user of the client app. Let's leave them on properties. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"Title"
is a useful meta attribute for Siren messages, but there may be other useful meta attributes, as well. Specifically, I propose"entityCount"
and"description"
attributes.I like the idea of keeping metadata separate from the resource properties. For example, following my understanding of the current spec, siren-resource will produce the following output for a resource:
However, I think this would be better expressed like this:
Note that this is also using the proposed
"entityAttributes"
extension, which I proposed in [#17].The text was updated successfully, but these errors were encountered: