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

Unable to use assign providing an empty list of children objects #4

Open
emanoelxavier opened this issue Apr 6, 2017 · 2 comments
Open

Comments

@emanoelxavier
Copy link

The method assign in the RestObject should allow for providing a list of empty children. According to the REST Api documentation this is the mechanism that should be used to unassign all the children from a parent. Current this method is enforcing that the list of children cannot be empty which is inconsistent with the REST Api behavior.

@emanoelxavier
Copy link
Author

@rvichery please take a look at this issue as it is blocking integration with OSC when we try to clean up objects. I am sending a PR to fix the problem.

@martin-leclerc
Copy link
Contributor

Code review done on #5.

I will approve PR once the 3 change requests have been sumbitted.

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

2 participants