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

getList() response Json object loss some data #1483

Open
RobinsonSir opened this issue Feb 8, 2018 · 0 comments
Open

getList() response Json object loss some data #1483

RobinsonSir opened this issue Feb 8, 2018 · 0 comments

Comments

@RobinsonSir
Copy link

RobinsonSir commented Feb 8, 2018

The data in server:
[{"id":1,"name":"myName1","head":"6E02"},{"id":2,"name":"myName2","head":"6E03"}]
when I use getList(),I get something like this: [{"id":1,"name":"myName1","route":"dtTypeList","reqParams":null,"restangularized":true,"fromServer":true,"parentResource":null,"restangularCollection":false},{"id":2,"name":"myName2","route":"dtTypeList","reqParams":null,"restangularized":true,"fromServer":true,"parentResource":null,"restangularCollection":false}]
It loss 'head' property data.
I don't know how to fix this problem.

restangular v1.6.1 & AngularJS v1.6.7

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

No branches or pull requests

1 participant