json_api_client icon indicating copy to clipboard operation
json_api_client copied to clipboard

Reserved keyword "links"

Open jjaffeux opened this issue 9 years ago • 0 comments

Hi,

Unless I'm mistaking having a model "Link" will cause issues with json_api_client, if you have a this kind of relation for example : Blog has_many Links, and you try to access blog.links, you will get an instance of JsonApiClient::Linking::Links and not the array you were expecting.

I think it's a fairly common name for a model. What's your thought on the subject please ?

jjaffeux avatar Sep 23 '15 21:09 jjaffeux