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

Add documentation about multiple values of the search filter #601

Closed
alanpoulain opened this issue Oct 6, 2018 · 2 comments
Closed

Add documentation about multiple values of the search filter #601

alanpoulain opened this issue Oct 6, 2018 · 2 comments

Comments

@alanpoulain
Copy link
Member

Searching multiple values for the same property is not documented.
Example:
/books?author[]=/authors/1&author[]=/authors/2

See: api-platform/core#1985

@teohhanhui
Copy link
Contributor

Definitely my fault. 🙈

Timherlaud pushed a commit to Timherlaud/api-platform-docs that referenced this issue Oct 8, 2018
Timherlaud pushed a commit to Timherlaud/api-platform-docs that referenced this issue Oct 8, 2018
alanpoulain pushed a commit that referenced this issue Oct 8, 2018
* #601 - Add note for usage of multiple value search in Filters

* Typo fix on multiple search filter
@lcottingham
Copy link

lcottingham commented Sep 21, 2022

How does this work on graphql when the schema enforces a property: String during introspection? How would I input multiple search values for the same property?

For example, variables as {foo: ['bar', 'baz']} is invalid. Unsure how to feed multiple values into the query without angering the IDE.

query getObjects ($values: String) { objects (foo: $values) { edges { ...

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

3 participants