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

Deep nesting attributes #57

Open
acras opened this issue May 14, 2011 · 1 comment
Open

Deep nesting attributes #57

acras opened this issue May 14, 2011 · 1 comment

Comments

@acras
Copy link

acras commented May 14, 2011

When using nested attributes whit more than 2 levels, restfulx framework ignores the recursive parameter.

looking in VOSerializer.as function marshallToVo it passes a hard coded false to the recursive parameter when calling itself recursively if it isHasMany node.

Changing it to true will not work because in XMLHTTPServiceProvider´s marshallToVO once again it takes the recursive option only one level deep.

@acras
Copy link
Author

acras commented May 14, 2011

I just pushed a modification that inserts deep nesting to the framework (https://github.com/acras/restfulx_framework). I don´t think it is good enough to pull to the base, but it is working for me fine. If you think it´s a good idea I can polish the code and make a pull request.

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