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

List within a List is built as a generic Resource #26

Open
no-reply opened this issue Jul 3, 2014 · 1 comment
Open

List within a List is built as a generic Resource #26

no-reply opened this issue Jul 3, 2014 · 1 comment

Comments

@no-reply
Copy link
Member

no-reply commented Jul 3, 2014

list = ActiveTriples::List[ActiveTriples::List[1,2,3]]
list[0]
# => #<ActiveTriples::Resource:0x3fa976b849d0(default)>

The Resource above should be an ActiveTriples::List.

@no-reply no-reply added the bug label Jul 3, 2014
@tpendragon
Copy link
Contributor

@no-reply and I talked about this yesterday - all items are returned as generic Resources in a list so long as the RDF.type isn't configured for that class.

@no-reply no-reply added this to the 1.0 milestone Oct 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants