openreferral / api-specification

This is the working repository for Open Referral's Human Services Data API protocols.
https://openreferral.readthedocs.io/en/latest/hsda/
Other
29 stars 13 forks source link

Boolean operators in search/filter query syntax #102

Closed MikeThacker1 closed 3 years ago

MikeThacker1 commented 4 years ago

We need a means of expressing how different filter parameters are combined. I believe GraphQL has been raised before. With a couple of exception (page={pageNumber} is the main one) we have said that all filter parameters are combined with a Boolean AND except where they are comma-delimited. values eg /services?taxonomy_id=123,234

kinlane commented 3 years ago

A recommendation and guidance for a GraphQL endpoint would satisfy, but would definitely need more discussion. Would be nice to have boolean operator pattern for the core design. Will include as part of discussion for v2.0.

kinlane commented 3 years ago

I am adopting an approach similar to GitHubs: