Open shaul75 opened 5 years ago
I've ran into this issue as well. I believe if you try fields: { movie: [:nameWithoutUnderscore] }
, it should work. I haven't tested the fields array explicitly, but I have dealt with this issue when the resource name is two words (e.g. instead of movies, something like fields: { movieName: [:name] }
)
It seems Netflix has abandoned this project. The community created a new fork to continue supporting this project. Please refer https://github.com/fast-jsonapi/fast_jsonapi
When using
fields: { movie: [:name_with_underscore] }
- the attribute will not be returned.