That is to say I can only filter in ways the API developer thought of, specifically blessed.
Don’t get me wrong, it’s amazingly useful. A process that took us 40 seconds of back and forth with GitHub now takes less than one second.
That is to say I can only filter in ways the API developer thought of, specifically blessed.
Don’t get me wrong, it’s amazingly useful. A process that took us 40 seconds of back and forth with GitHub now takes less than one second.
We also open-sourced the GraphQL compiler code that lets us write graph queries: https://github.com/kensho-technologies/graphql-compiler
pip install graphql-compilerOne the one hand, you need to be flexible. On the other, allowing any query no matter how horrendous can be bad for a public API.
IMO, GraphQL strikes the perfect balance for a public API.
If graphql did require arbitrary filtering it would be useless to us at this point.
[0] https://github.com/apollographql/graphql-anywhere [1] https://github.com/apollographql/apollo-link-state