Steams / ra-data-hasura-graphql

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

Data types prefixed with _ are filtered #59

Open femetrie opened 4 years ago

femetrie commented 4 years ago

I'm not sure why this conditional is omitting keys that begin with an underscore, but it is. Custom data types in Postgres can be prefixed with _, e.g. _email_type. This results in those keys always being filtered from the query.

I built a version of this locally with this check removed and I'm not seeing any issues. Is there some rationale I'm missing?

jasper95 commented 3 years ago

69 will fix this issue.