support for links in JSON:API?
Closed this issue · 1 comments
mqchau commented
Hi, in my own backend that implements JSON:API, I use the links as indicated the documentation of JSON:API like this https://jsonapi.org/format/#document-links . I wonder if you guys plan to support it? I'm thinking of something like the @Attr
you already did:
@Model()
class Person extends ApplicationRecord {
static jsonapiType = "people"
@Link() self: string
}
If you guys think it's good idea to support it then I can attempt a PR.
mqchau commented
I attempted to make a PR to support links. Tell me what you guys think.