Skip to content

Instantly share code, notes, and snippets.

@nodkz
Created July 1, 2016 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nodkz/486a92285ec7ddebe9823508fb138a12 to your computer and use it in GitHub Desktop.
Save nodkz/486a92285ec7ddebe9823508fb138a12 to your computer and use it in GitHub Desktop.
graphql-js-on-flow27-errors
src/utilities/buildASTSchema.js:257
257: locations: directiveAST.locations.map(node => node.value),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
257: locations: directiveAST.locations.map(node => node.value),
^^^^^^^^^^ some string with unknown value. Property not found in
97: locations: Array<DirectiveLocationEnum>;
^^^^^^^^^^^^^^^^^^^^^ object literal. See: src/type/directives.js:97
src/utilities/buildASTSchema.js:258
258: args: makeInputValues(directiveAST.arguments),
^^^^^^^^^^^^^^^^^^^^^^ null. This type is incompatible with
342: function makeInputValues(values: Array<InputValueDefinition>) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^ array type
src/utilities/buildASTSchema.js:258
258: args: makeInputValues(directiveAST.arguments),
^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with
342: function makeInputValues(values: Array<InputValueDefinition>) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^ array type
src/utilities/buildASTSchema.js:328
328: def.fields,
^^^^^^ property `fields`. Property not found in
94: UnionTypeDefinition;
^^^^^^^^^^^^^^^^^^^ object type
src/utilities/buildASTSchema.js:331
331: type: produceTypeDef(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
490: type: GraphQLOutputType;
^^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/type/definition.js:490
Member 1:
80: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:80
Error:
331: type: produceTypeDef(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
80: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:80
Member 2:
81: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:81
Error:
331: type: produceTypeDef(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
81: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:81
Member 3:
82: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:82
Error:
331: type: produceTypeDef(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
82: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:82
Member 4:
83: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:83
Error:
331: type: produceTypeDef(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
83: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:83
Member 5:
84: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:84
Error:
331: type: produceTypeDef(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
84: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:84
Member 6:
85: GraphQLList<GraphQLOutputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:85
Error:
331: type: produceTypeDef(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
85: GraphQLList<GraphQLOutputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:85
Member 7:
86: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:86
Error:
331: type: produceTypeDef(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
86: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:86
src/utilities/buildASTSchema.js:339
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`. Method cannot be called on possibly null value
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^ null
src/utilities/buildASTSchema.js:339
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`. Method cannot be called on possibly undefined value
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^ undefined
src/utilities/buildASTSchema.js:339
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
30: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. This type is incompatible with. See: src/type/definition.js:30
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/buildASTSchema.js:339
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
31: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. This type is incompatible with. See: src/type/definition.js:31
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/buildASTSchema.js:339
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
33: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. This type is incompatible with. See: src/type/definition.js:33
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/buildASTSchema.js:339
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
34: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. This type is incompatible with. See: src/type/definition.js:34
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/buildASTSchema.js:339
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
35: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with. See: src/type/definition.js:35
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/buildASTSchema.js:339
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
36: GraphQLList |
^^^^^^^^^^^ GraphQLList. This type is incompatible with. See: src/type/definition.js:36
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/buildASTSchema.js:339
339: return def.interfaces.map(inter => produceTypeDef(inter));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
37: GraphQLNonNull;
^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with. See: src/type/definition.js:37
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/buildASTSchema.js:348
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
502: type: GraphQLInputType;
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/type/definition.js:502
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/buildASTSchema.js:348
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
502: type: GraphQLInputType;
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/type/definition.js:502
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/buildASTSchema.js:348
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
502: type: GraphQLInputType;
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/type/definition.js:502
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/buildASTSchema.js:348
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
48: type: GraphQLInputType,
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/utilities/valueFromAST.js:48
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLInterfaceType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/buildASTSchema.js:348
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
48: type: GraphQLInputType,
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/utilities/valueFromAST.js:48
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLObjectType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/buildASTSchema.js:348
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
48: type: GraphQLInputType,
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/utilities/valueFromAST.js:48
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
348: return { type, defaultValue: valueFromAST(value.defaultValue, type) };
^^^^ GraphQLUnionType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/buildASTSchema.js:382
382: types: def.types.map(t => produceTypeDef(t)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
30: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. This type is incompatible with. See: src/type/definition.js:30
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/buildASTSchema.js:382
382: types: def.types.map(t => produceTypeDef(t)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
32: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. This type is incompatible with. See: src/type/definition.js:32
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/buildASTSchema.js:382
382: types: def.types.map(t => produceTypeDef(t)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
33: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. This type is incompatible with. See: src/type/definition.js:33
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/buildASTSchema.js:382
382: types: def.types.map(t => produceTypeDef(t)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
34: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. This type is incompatible with. See: src/type/definition.js:34
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/buildASTSchema.js:382
382: types: def.types.map(t => produceTypeDef(t)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
35: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with. See: src/type/definition.js:35
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/buildASTSchema.js:382
382: types: def.types.map(t => produceTypeDef(t)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
36: GraphQLList |
^^^^^^^^^^^ GraphQLList. This type is incompatible with. See: src/type/definition.js:36
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/buildASTSchema.js:382
382: types: def.types.map(t => produceTypeDef(t)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
37: GraphQLNonNull;
^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with. See: src/type/definition.js:37
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/extendSchema.js:204
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ call of method `getType`
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. This type is incompatible with
225: function getTypeFromDef(typeDef: GraphQLNamedType): GraphQLNamedType {
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType
Member 1:
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. This type is incompatible with
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Member 2:
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. This type is incompatible with
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Member 3:
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. This type is incompatible with
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Member 4:
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. This type is incompatible with
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Member 5:
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. This type is incompatible with
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Member 6:
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. This type is incompatible with
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
src/utilities/extendSchema.js:204
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ call of method `getType`
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
225: function getTypeFromDef(typeDef: GraphQLNamedType): GraphQLNamedType {
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType
Member 1:
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Member 2:
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Member 3:
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Member 4:
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Member 5:
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Member 6:
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
src/utilities/extendSchema.js:204
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ call of method `getType`
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ null. This type is incompatible with
225: function getTypeFromDef(typeDef: GraphQLNamedType): GraphQLNamedType {
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType
Member 1:
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ null. This type is incompatible with
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Member 2:
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ null. This type is incompatible with
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Member 3:
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ null. This type is incompatible with
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Member 4:
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ null. This type is incompatible with
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Member 5:
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ null. This type is incompatible with
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Member 6:
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ null. This type is incompatible with
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
src/utilities/extendSchema.js:204
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ call of method `getType`
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with
225: function getTypeFromDef(typeDef: GraphQLNamedType): GraphQLNamedType {
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType
Member 1:
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Member 2:
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Member 3:
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Member 4:
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Member 5:
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Member 6:
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
Error:
204: getTypeFromDef(schema.getType(typeName))
^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
214: query: queryType,
^^^^^^^^^ GraphQLEnumType. This type is incompatible with
219: query: GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:219
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
214: query: queryType,
^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
219: query: GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:219
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
214: query: queryType,
^^^^^^^^^ GraphQLInterfaceType. This type is incompatible with
219: query: GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:219
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
214: query: queryType,
^^^^^^^^^ GraphQLScalarType. This type is incompatible with
219: query: GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:219
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
214: query: queryType,
^^^^^^^^^ GraphQLUnionType. This type is incompatible with
219: query: GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:219
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
215: mutation: mutationType,
^^^^^^^^^^^^ GraphQLEnumType. This type is incompatible with
220: mutation?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:220
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
215: mutation: mutationType,
^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
220: mutation?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:220
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
215: mutation: mutationType,
^^^^^^^^^^^^ GraphQLInterfaceType. This type is incompatible with
220: mutation?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:220
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
215: mutation: mutationType,
^^^^^^^^^^^^ GraphQLScalarType. This type is incompatible with
220: mutation?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:220
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
215: mutation: mutationType,
^^^^^^^^^^^^ GraphQLUnionType. This type is incompatible with
220: mutation?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:220
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
216: subscription: subscriptionType,
^^^^^^^^^^^^^^^^ GraphQLEnumType. This type is incompatible with
221: subscription?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:221
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
216: subscription: subscriptionType,
^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
221: subscription?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:221
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
216: subscription: subscriptionType,
^^^^^^^^^^^^^^^^ GraphQLInterfaceType. This type is incompatible with
221: subscription?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:221
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
216: subscription: subscriptionType,
^^^^^^^^^^^^^^^^ GraphQLScalarType. This type is incompatible with
221: subscription?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:221
src/utilities/extendSchema.js:213
213: return new GraphQLSchema({
^ constructor call
216: subscription: subscriptionType,
^^^^^^^^^^^^^^^^ GraphQLUnionType. This type is incompatible with
221: subscription?: ?GraphQLObjectType;
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/schema.js:221
src/utilities/extendSchema.js:255
255: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
245: function _getNamedType(typeName: string): ?GraphQLNamedType {
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType
Member 1:
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Error:
255: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Member 2:
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Error:
255: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Member 3:
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Error:
255: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Member 4:
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Error:
255: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Member 5:
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Error:
255: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Member 6:
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
Error:
255: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
src/utilities/extendSchema.js:255
255: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
245: function _getNamedType(typeName: string): ?GraphQLNamedType {
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType
Member 1:
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Error:
255: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Member 2:
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Error:
255: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Member 3:
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Error:
255: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Member 4:
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Error:
255: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Member 5:
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Error:
255: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Member 6:
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
Error:
255: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
src/utilities/extendSchema.js:262
262: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
245: function _getNamedType(typeName: string): ?GraphQLNamedType {
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType
Member 1:
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Error:
262: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Member 2:
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Error:
262: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Member 3:
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Error:
262: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Member 4:
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Error:
262: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Member 5:
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Error:
262: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Member 6:
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
Error:
262: return typeDef;
^^^^^^^ GraphQLList. This type is incompatible with
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
src/utilities/extendSchema.js:262
262: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
245: function _getNamedType(typeName: string): ?GraphQLNamedType {
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType
Member 1:
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Error:
262: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:171
Member 2:
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Error:
262: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:172
Member 3:
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Error:
262: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:173
Member 4:
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Error:
262: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:174
Member 5:
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Error:
262: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:175
Member 6:
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
Error:
262: return typeDef;
^^^^^^^ GraphQLNonNull. This type is incompatible with
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:176
src/utilities/extendSchema.js:305
305: types: type.getTypes().map(getTypeFromDef),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. This type is incompatible with. See: src/type/definition.js:171
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/extendSchema.js:305
305: types: type.getTypes().map(getTypeFromDef),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
173: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. This type is incompatible with. See: src/type/definition.js:173
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/extendSchema.js:305
305: types: type.getTypes().map(getTypeFromDef),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. This type is incompatible with. See: src/type/definition.js:174
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/extendSchema.js:305
305: types: type.getTypes().map(getTypeFromDef),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. This type is incompatible with. See: src/type/definition.js:175
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/extendSchema.js:305
305: types: type.getTypes().map(getTypeFromDef),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with. See: src/type/definition.js:176
676: types: Array<GraphQLObjectType>,
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:676
src/utilities/extendSchema.js:313
313: const interfaces = type.getInterfaces().map(getTypeFromDef);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. This type is incompatible with. See: src/type/definition.js:171
312: ): Array<GraphQLInterfaceType> {
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType
src/utilities/extendSchema.js:313
313: const interfaces = type.getInterfaces().map(getTypeFromDef);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. This type is incompatible with. See: src/type/definition.js:172
312: ): Array<GraphQLInterfaceType> {
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType
src/utilities/extendSchema.js:313
313: const interfaces = type.getInterfaces().map(getTypeFromDef);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. This type is incompatible with. See: src/type/definition.js:174
312: ): Array<GraphQLInterfaceType> {
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType
src/utilities/extendSchema.js:313
313: const interfaces = type.getInterfaces().map(getTypeFromDef);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. This type is incompatible with. See: src/type/definition.js:175
312: ): Array<GraphQLInterfaceType> {
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType
src/utilities/extendSchema.js:313
313: const interfaces = type.getInterfaces().map(getTypeFromDef);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with. See: src/type/definition.js:176
312: ): Array<GraphQLInterfaceType> {
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType
src/utilities/extendSchema.js:380
380: return new GraphQLNonNull(extendFieldType(type.ofType));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
1000: export class GraphQLNonNull<T: GraphQLNullableType> {
^^^^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType | GraphQLList. See: src/type/definition.js:1000
Member 1:
155: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:155
Error:
380: return new GraphQLNonNull(extendFieldType(type.ofType));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
155: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:155
Member 2:
156: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:156
Error:
380: return new GraphQLNonNull(extendFieldType(type.ofType));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
156: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:156
Member 3:
157: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:157
Error:
380: return new GraphQLNonNull(extendFieldType(type.ofType));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
157: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:157
Member 4:
158: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:158
Error:
380: return new GraphQLNonNull(extendFieldType(type.ofType));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
158: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:158
Member 5:
159: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:159
Error:
380: return new GraphQLNonNull(extendFieldType(type.ofType));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
159: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:159
Member 6:
160: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:160
Error:
380: return new GraphQLNonNull(extendFieldType(type.ofType));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
160: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:160
Member 7:
161: GraphQLList;
^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:161
Error:
380: return new GraphQLNonNull(extendFieldType(type.ofType));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
161: GraphQLList;
^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:161
src/utilities/extendSchema.js:385
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ undefined. This type is incompatible with
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType | GraphQLList | GraphQLNonNull
Member 1:
30: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:30
Error:
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ undefined. This type is incompatible with
30: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:30
Member 2:
31: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:31
Error:
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ undefined. This type is incompatible with
31: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:31
Member 3:
32: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:32
Error:
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ undefined. This type is incompatible with
32: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:32
Member 4:
33: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:33
Error:
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ undefined. This type is incompatible with
33: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:33
Member 5:
34: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:34
Error:
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ undefined. This type is incompatible with
34: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:34
Member 6:
35: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:35
Error:
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ undefined. This type is incompatible with
35: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:35
Member 7:
36: GraphQLList |
^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:36
Error:
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ undefined. This type is incompatible with
36: GraphQLList |
^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:36
Member 8:
37: GraphQLNonNull;
^^^^^^^^^^^^^^ GraphQLNonNull. See: src/type/definition.js:37
Error:
385: function buildType(typeAST: TypeDefinition): GraphQLType {
^^^^^^^^^^^ undefined. This type is incompatible with
37: GraphQLNonNull;
^^^^^^^^^^^^^^ GraphQLNonNull. See: src/type/definition.js:37
src/utilities/extendSchema.js:448
448: return typeAST.interfaces.map(getTypeFromAST);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`. Method cannot be called on possibly null value
448: return typeAST.interfaces.map(getTypeFromAST);
^^^^^^^^^^^^^^^^^^ null
src/utilities/extendSchema.js:448
448: return typeAST.interfaces.map(getTypeFromAST);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`. Method cannot be called on possibly undefined value
448: return typeAST.interfaces.map(getTypeFromAST);
^^^^^^^^^^^^^^^^^^ undefined
src/utilities/extendSchema.js:448
448: return typeAST.interfaces.map(getTypeFromAST);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
171: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. This type is incompatible with. See: src/type/definition.js:171
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/extendSchema.js:448
448: return typeAST.interfaces.map(getTypeFromAST);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
172: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. This type is incompatible with. See: src/type/definition.js:172
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/extendSchema.js:448
448: return typeAST.interfaces.map(getTypeFromAST);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
174: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. This type is incompatible with. See: src/type/definition.js:174
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/extendSchema.js:448
448: return typeAST.interfaces.map(getTypeFromAST);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
175: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. This type is incompatible with. See: src/type/definition.js:175
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/extendSchema.js:448
448: return typeAST.interfaces.map(getTypeFromAST);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `map`
176: GraphQLInputObjectType;
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with. See: src/type/definition.js:176
453: type GraphQLInterfacesThunk = () => Array<GraphQLInterfaceType>;
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:453
src/utilities/extendSchema.js:456
456: type: buildFieldType(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
490: type: GraphQLOutputType;
^^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/type/definition.js:490
Member 1:
80: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:80
Error:
456: type: buildFieldType(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
80: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:80
Member 2:
81: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:81
Error:
456: type: buildFieldType(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
81: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:81
Member 3:
82: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:82
Error:
456: type: buildFieldType(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
82: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:82
Member 4:
83: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:83
Error:
456: type: buildFieldType(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
83: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:83
Member 5:
84: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:84
Error:
456: type: buildFieldType(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
84: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:84
Member 6:
85: GraphQLList<GraphQLOutputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:85
Error:
456: type: buildFieldType(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
85: GraphQLList<GraphQLOutputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:85
Member 7:
86: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:86
Error:
456: type: buildFieldType(field.type),
^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. This type is incompatible with
86: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:86
src/utilities/extendSchema.js:470
470: type,
^^^^ GraphQLInterfaceType. This type is incompatible with
502: type: GraphQLInputType;
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/type/definition.js:502
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
470: type,
^^^^ GraphQLInterfaceType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
470: type,
^^^^ GraphQLInterfaceType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
470: type,
^^^^ GraphQLInterfaceType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
470: type,
^^^^ GraphQLInterfaceType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
470: type,
^^^^ GraphQLInterfaceType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/extendSchema.js:470
470: type,
^^^^ GraphQLObjectType. This type is incompatible with
502: type: GraphQLInputType;
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/type/definition.js:502
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
470: type,
^^^^ GraphQLObjectType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
470: type,
^^^^ GraphQLObjectType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
470: type,
^^^^ GraphQLObjectType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
470: type,
^^^^ GraphQLObjectType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
470: type,
^^^^ GraphQLObjectType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/extendSchema.js:470
470: type,
^^^^ GraphQLUnionType. This type is incompatible with
502: type: GraphQLInputType;
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/type/definition.js:502
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
470: type,
^^^^ GraphQLUnionType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
470: type,
^^^^ GraphQLUnionType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
470: type,
^^^^ GraphQLUnionType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
470: type,
^^^^ GraphQLUnionType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
470: type,
^^^^ GraphQLUnionType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/extendSchema.js:471
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLInterfaceType. This type is incompatible with
48: type: GraphQLInputType,
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/utilities/valueFromAST.js:48
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLInterfaceType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLInterfaceType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLInterfaceType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLInterfaceType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLInterfaceType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/extendSchema.js:471
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLObjectType. This type is incompatible with
48: type: GraphQLInputType,
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/utilities/valueFromAST.js:48
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLObjectType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLObjectType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLObjectType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLObjectType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLObjectType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/extendSchema.js:471
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function call
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLUnionType. This type is incompatible with
48: type: GraphQLInputType,
^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLEnumType | GraphQLInputObjectType | type application of identifier `GraphQLList` | type application of identifier `GraphQLNonNull`. See: src/utilities/valueFromAST.js:48
Member 1:
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLUnionType. This type is incompatible with
56: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:56
Member 2:
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLUnionType. This type is incompatible with
57: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:57
Member 3:
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLUnionType. This type is incompatible with
58: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:58
Member 4:
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type application of identifier `GraphQLList`. See: src/type/definition.js:59
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLUnionType. This type is incompatible with
59: GraphQLList<GraphQLInputType> |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:59
Member 5:
60: GraphQLNonNull<
^ type application of identifier `GraphQLNonNull`. See: src/type/definition.js:60
Error:
471: defaultValue: valueFromAST(value.defaultValue, type)
^^^^ GraphQLUnionType. This type is incompatible with
60: GraphQLNonNull<
^ GraphQLNonNull. See: src/type/definition.js:60
src/utilities/extendSchema.js:482
482: return new GraphQLNonNull(buildFieldType(typeAST.type));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
1000: export class GraphQLNonNull<T: GraphQLNullableType> {
^^^^^^^^^^^^^^^^^^^ union: GraphQLScalarType | GraphQLObjectType | GraphQLInterfaceType | GraphQLUnionType | GraphQLEnumType | GraphQLInputObjectType | GraphQLList. See: src/type/definition.js:1000
Member 1:
155: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:155
Error:
482: return new GraphQLNonNull(buildFieldType(typeAST.type));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
155: GraphQLScalarType |
^^^^^^^^^^^^^^^^^ GraphQLScalarType. See: src/type/definition.js:155
Member 2:
156: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:156
Error:
482: return new GraphQLNonNull(buildFieldType(typeAST.type));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
156: GraphQLObjectType |
^^^^^^^^^^^^^^^^^ GraphQLObjectType. See: src/type/definition.js:156
Member 3:
157: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:157
Error:
482: return new GraphQLNonNull(buildFieldType(typeAST.type));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
157: GraphQLInterfaceType |
^^^^^^^^^^^^^^^^^^^^ GraphQLInterfaceType. See: src/type/definition.js:157
Member 4:
158: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:158
Error:
482: return new GraphQLNonNull(buildFieldType(typeAST.type));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
158: GraphQLUnionType |
^^^^^^^^^^^^^^^^ GraphQLUnionType. See: src/type/definition.js:158
Member 5:
159: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:159
Error:
482: return new GraphQLNonNull(buildFieldType(typeAST.type));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
159: GraphQLEnumType |
^^^^^^^^^^^^^^^ GraphQLEnumType. See: src/type/definition.js:159
Member 6:
160: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:160
Error:
482: return new GraphQLNonNull(buildFieldType(typeAST.type));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
160: GraphQLInputObjectType |
^^^^^^^^^^^^^^^^^^^^^^ GraphQLInputObjectType. See: src/type/definition.js:160
Member 7:
161: GraphQLList;
^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:161
Error:
482: return new GraphQLNonNull(buildFieldType(typeAST.type));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GraphQLNonNull. This type is incompatible with
161: GraphQLList;
^^^^^^^^^^^ GraphQLList. See: src/type/definition.js:161
Found 77 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment