You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using fields: { movie: [:name_with_underscore] } - the attribute will not be returned.
The text was updated successfully, but these errors were encountered:
shaul75
changed the title
Using fields option doesn't return attributes that have underscore
Using fields option doesn't return attributes that contain underscore
Jul 30, 2019
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] })
When using
fields: { movie: [:name_with_underscore] }
- the attribute will not be returned.The text was updated successfully, but these errors were encountered: