Steams / ra-data-hasura-graphql

React-admin data provider for Hasura GraphQL endpoints
MIT License
211 stars 33 forks source link

Fixes: Query Issues and Export Issue #69

Open jasper95 opened 3 years ago

jasper95 commented 3 years ago

This PR fixes couple of things

let's say we want to query the user with assignees of [1,2]

this will not work

query { user(where: {assignees: {_in: [1,2]}}) { name } }

this will work

query { user(where: {assignees: {_contains: [1,2]}}) { name } }


- field with `_` as starting characters are ignored. Im not sure if this is intentional but we can't force the users to avoid adding `_` at the start.
- removed `dist` directory from `.gitignore` for installing package directly from git
- export `buildVariables`
cpursley commented 3 years ago

fyi @jasper95 ~ https://github.com/hasura/ra-data-hasura/issues/13#issuecomment-762837297

sankalpmukim commented 2 years ago

Hi! This is a crucial change that I need in my project. But it seems that because of the porting over of this package to here, this PR is not getting merged. @jasper95 can you please make this PR with referring to this issue in the other repository...

cpursley commented 2 years ago

@sankalpmukim - this library is no longer maintained and has been moved to: https://github.com/hasura/ra-data-hasura