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

Should sub-collections be able to repeat within a collection? #94

Open
elrayle opened this issue May 14, 2015 · 1 comment
Open

Should sub-collections be able to repeat within a collection? #94

elrayle opened this issue May 14, 2015 · 1 comment
Labels

Comments

@elrayle
Copy link
Contributor

elrayle commented May 14, 2015

coll1.collections = [coll2, coll3, coll2] # is coll2 twice ok?
if you append coll2 and it is already in the list of collections, should it be replaced/ignored?

see test: add_collection_spec.rb xit 'should allow collections to repeat'

same applies for hydra works collections

@escowles
Copy link
Contributor

escowles commented Jul 8, 2015

We've talked about repeating member objects, but I don't think I've heard a scenario for repeating member collections. Is there any reason not to allow it? If we have the ability to repeat objects, then repeating collections seems like it could follow the same pattern.

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

No branches or pull requests

3 participants