Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add response content to resource #19

Closed
wants to merge 2 commits into from
Closed

Conversation

hadrienl
Copy link

#13

@maennchen
Copy link
Contributor

@hadrienl: The first commit seems to be from the other pull request. Can you please remove it? (rebase)

@maennchen
Copy link
Contributor

If we really want this to be in the resource itself, the $res has to be defined as a hidden property.

I'd rather recommend to resolve the promise of the request with two objects. first the resource and as the second parameter the whole response.

@maennchen maennchen added this to the v2.0 stable milestone Mar 5, 2016
@maennchen maennchen self-assigned this Mar 5, 2016
@maennchen
Copy link
Contributor

@hadrienl: In the Alpha Version 2.0 this functionality is built in using resource.$response().

@maennchen maennchen closed this Mar 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants