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

Inconsisten specification of contains #81

Open
jurajcik opened this issue May 9, 2019 · 0 comments
Open

Inconsisten specification of contains #81

jurajcik opened this issue May 9, 2019 · 0 comments

Comments

@jurajcik
Copy link

jurajcik commented May 9, 2019

The contains is not defined consistently:

  1. in https://github.com/persvr/rql/blob/master/specification/draft-zyp-rql-00.html#L457 as
    contains(<property>,<value | array-of-values>)
  2. in https://github.com/persvr/rql/blob/master/specification/draft-zyp-rql-00.xml#L185
    contains(<property>,<value | query>)
  3. in README.md
    contains(<property>,<value | expression>)
  4. if I read the implementation correctly https://github.com/persvr/rql/blob/master/js-array.js#L59 it does support query/expression.

Could you pls correct draft-zyp-rql-00.html so that the definition of contains is consistent?
Also does query and expression have interchangeable meaning here? Would be clearer if you sticked to one of them in all documents or at least within the README.md.

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

1 participant