Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Resource metadata #42

Closed
alessandro-shore opened this issue Jun 2, 2016 · 3 comments
Closed

Resource metadata #42

alessandro-shore opened this issue Jun 2, 2016 · 3 comments

Comments

@alessandro-shore
Copy link

Is there any way to access the meta object of an included resource:

"included": [ { "meta": { "unresolved": "This is a test message" }, "id": "93ae7543-3ae1-417f-8feb-51217b5f4d01", "type": "participants" },

I've tried adding "meta" as a property and as a "hasOne" relationship, but that didn't work.

Thank you

@joshdholtz
Copy link
Owner

@alessandro-shore I will work on adding that right now! I was not aware that meta was an optional attribute but I will add that right now 😊

@joshdholtz
Copy link
Owner

@alessandro-shore You should be able to access the meta with version 1.0.7

pod 'JSONAPI', '~> 1.0.7'

@alessandro-shore
Copy link
Author

Awesome! Thank you very much!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants