-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
This library says it supports the JSON API specs, but as it seems not the current standard v1.0, or am I missing something?
According to the standard the primary resource should be put under the "data" key, but this implementation puts it under a key named like the resource type (see https://github.com/GoIntegro/hateoas/blob/master/JsonApi/DocumentSerializer.php#L83).
Other specs like putting resource fields under a "attributes" key, or using the "included" key to put related resources, seem to be not supported as well. So in general the JSON format seems to differ from the spec v1.0 substantially!
Which version is it based on then? Does not seem to be mentioned, and when is v1.0 support to be expected, if at all?
Metadata
Metadata
Assignees
Labels
No labels