Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant