@molaux/graphql-sequelize-r-react-admin
v2.0.0-alpha.2
Published
a graphql-sequelize-r module that implements basic react-admin grammar
Downloads
4
Readme
graphql-sequelize-r-react-admin
A graphql-sequelize-r plugin that partially implements ra-data-graphql-simple grammar (a GraphQL data provider for react-admin).
Install
yarn add @molaux/graphql-sequelize-r-react-admin
Use
import graphqlSequelizeRReactAdmin from '@molaux/graphql-sequelize-r-react-admin'
const {
extraModelFields: reactAdminFieldsGenerator,
extraModelQueries: reactAdminQueriesGenerator,
extraModelTypes: reactAdminTypesGenerator,
extraTypes: reactAdminExtraTypes
} = graphqlSequelizeRReactAdmin