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

Clarify usage of from and to in Data Index GraphQL endpoint documentation #678

Closed
gciavarrini opened this issue Oct 16, 2024 · 2 comments
Closed

Comments

@gciavarrini
Copy link
Contributor

The Data Index GraphQL endpoint currently lists the following operators for Number and Date:

* between: Numeric range
* from: Integer
* to: Integer

and

* between: Date range
* from: Date time
* to: Date time

However, from and to are not standalone operators. They should only be used as part of the between operator.

To improve clarity, I propose updating the documentation as follows:

* `between`: Date range (with `from` and `to` values required)

and

* `between`: Numeric range (with `from` and `to` values required)
@ricardozanini
Copy link
Member

@gciavarrini can you open a PR?

@domhanak
Copy link
Contributor

Resolved by #680

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

4 participants