allow alternate typenames and relationships#232
allow alternate typenames and relationships#232championswimmer wants to merge 2 commits intojasminb:developfrom
Conversation
Signed-off-by: Arnav Gupta <arnav@codingblocks.com>
Signed-off-by: Arnav Gupta <arnav@codingblocks.com>
|
Hey @jasminb could you take a look at this please :) Thanks |
|
@championswimmer This looks like a useful improvements, however instead of changing the |
Well, ok that makes a lot more sense ! |
This is to handle the case, where some server side serialization libraries might mixup singular and plural type names.
An example are these two nodejs libraries
https://www.npmjs.com/package/jsonapi-serializer - produces plurals
https://www.npmjs.com/package/json-api-serializer - produces singulars
We can now support multiple types
Signed-off-by: Arnav Gupta arnav@codingblocks.com