0.0.15 • Published 3 years ago

ra-data-hasura-wlb v0.0.15

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

ra-data-hasura

react-admin data provider for Hasura GraphQL Engine. Forked from Hasura GraphQL Engine and customized for internal usage.

Motivation

why this

Since Hasura GraphQL Engine has monorepo for all core engine and even community tools, we forked as a single repository for simplicity and focused on what we need without messing up with another stuff that not related with our need.

Customization

Hasura access control is role based. Let say we have role admin-platform; can fetching all users with results like id email name biography, but can only update biography.

In the other side, React Admin by design is performed update with parameters that we've fetched before. So, instead of update only biography field, it actually updates whole fields even though has no changes in the data. See this issue for details.

To achieve this if you want to send only the values that changes to your hasura engine, you need to compute the diff in the dataProvider and send only this diff.

Instalation

npm i ra-data-hasura-wlb --save

0.0.15

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago