Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Using Graphql list result string! #1

Open
bkh2js opened this issue Apr 30, 2019 · 0 comments
Open

Using Graphql list result string! #1

bkh2js opened this issue Apr 30, 2019 · 0 comments

Comments

@bkh2js
Copy link

bkh2js commented Apr 30, 2019

getting throw Error('Query type must be a builtType, an array with a built type or a graphql scalar type, got ' + type); when callling buildType()

const QuestionType = buildType({
  name: 'Page',
  fields: {
    id: {type: GraphQLString},
    title: {type: GraphQLString},
    visible: {type: GraphQLBoolean},
    tags: {type: new GraphQLNonNull (new GraphQLList(GraphQLString))},
    type: {type: new GraphQLNonNull(GraphQLString)},
  }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant