0.1.1 • Published 5 years ago

graphql-schema-org v0.1.1

Weekly downloads
5
License
BSD-3-Clause
Repository
github
Last release
5 years ago

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.