Help wanted: JSON:API #217
Replies: 1 comment 2 replies
-
Is it helpful to realize there's a JSON:API JSON Schema, and you could use the ruby json_schema gem to validate any JSON against the JSON:API JSON schema? (Although to be fair, json:api FAQ says "Validation will not yield false negatives, but could yield false positives for the sake of flexibility.") That might be one way to verify that any given output is legal JSON:API, although there may be more to verifying compatibility than that. I am definitely interested in json:api support here. Looking at the diff between your branch and master, I haven't quite wrapped my head around what's going on. Can you say more about where you are stuck, or if there's any way for anyone else to help? I would also be interested in the possiiblity of using the same serializer to serialize as JSON:API or "plain", not sure if that's feasible or not. |
Beta Was this translation helpful? Give feedback.
-
On jsonapi branch I'm developing a JSON:API compatibility but there's an issue.
It's hard to confirm Alba is actually compatible with JSON:API. There's no test suite so I copied some specs from https://github.com/jsonapi-serializer/jsonapi-serializer but we need more specs.
Could anyone add some specs for JSON:API?
Beta Was this translation helpful? Give feedback.
All reactions