Skip to content
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 OPTIONAL "rel" property to items... #14

Open
mamund opened this issue Mar 11, 2015 · 0 comments
Open

add OPTIONAL "rel" property to items... #14

mamund opened this issue Mar 11, 2015 · 0 comments
Assignees
Milestone

Comments

@mamund
Copy link
Member

mamund commented Mar 11, 2015

in working w/ processing, filtering, and rendering individual items i am finding it quite helpful to include an OPTIONAL rel property as in:

"items" : [
  { "href" : "...",
    "rel" : "invoice",
    "data" : [...],
    "links" : [...]
  },
  { "href" : "...",
    "rel" : "lineItem",
    "data" : [...],
    "links" : [...]
  },
...
]

I propose adding the OPTIONAL rel property (the same definition already in use for queries and links) to the individual items.

NOTE: this is a backward-compatible change w/ no anticipated major negative side-effects for current implementations.

@mamund mamund self-assigned this Mar 11, 2015
@mamund mamund modified the milestone: cleanup Mar 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant