graphql-schema-org
v0.1.1
Published
GraphQL objects built from schema.org definitions.
Downloads
3
Readme
graphql-schema-org
Trying to convert schema.org definitions into graphql objects.
Usage
If you want access to the entire thing (The index import is 1MB in file size.) all in one import:
import { brand, Thing } from 'graphql-schema-org'
If you want to import specific fields:
import url from 'graphql-schema-org/lib/url'
TODO
- Need to use GraphQLUnionType when many possible types. How to programmatically create
resolveType
? - Split types into individual files.