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

Property Paths #43

Closed
dannybtran opened this issue Apr 2, 2014 · 2 comments
Closed

Property Paths #43

dannybtran opened this issue Apr 2, 2014 · 2 comments

Comments

@dannybtran
Copy link
Contributor

Anyone given any thought to implementing property paths?

@artob
Copy link
Member

artob commented Apr 2, 2014

This would certainly be a welcome feature. Any ideas as to what the DSL might look like?

@dannybtran
Copy link
Contributor Author

How about something like this?

I have implied a DSL by writing potential transcriptions for the examples in the w3 link. In essence, the predicate parameter of the where method would accept nested arrays. Each array would be joined with an empty string delimiter. Each nested array would be surrounded by parenthesis. Thoughts are appreciated.

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