When trying to use this plugin in conjunction with postgraphile-plugin-nested-mutations, warnings are emitted on startup and all mutations are missing from the GraphQL schema:
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +0ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +29ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +16ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +15ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +17ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +15ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +27ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +25ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +18ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +9ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +19ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at Object.getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +16ms
Recoverable error occurred:
graphile-build:warn TypeError: Cannot read property 'kind' of undefined
graphile-build:warn at MakeForeignKeyInputFieldsNullable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\@graphile\global-ids\dist\index.js:21:34)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at Object.fieldWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:554:35)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:573:55)
graphile-build:warn at resolveThunk (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:438:40)
graphile-build:warn at defineInputFieldMap (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1056:18)
graphile-build:warn at GraphQLInputObjectType.getFields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:1017:27)
graphile-build:warn at Object.newWithHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:631:36)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTablesPlugin.js:182:9
graphile-build:warn at getGqlTypeByTypeIdAndModifier (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build-pg\node8plus\plugins\PgTypesPlugin.js:743:26) +18ms
Recoverable error occurred:
graphile-build:warn Error: Expected undefined to be a GraphQL nullable type.
graphile-build:warn at assertNullableType (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:385:11)
graphile-build:warn at new GraphQLNonNull (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphql\type\definition.js:345:19)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\lib\PgUpsertPlugin.js:146:23
graphile-build:warn at Array.reduce (<anonymous>)
graphile-build:warn at upsertFieldsForTable (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\lib\PgUpsertPlugin.js:127:32)
graphile-build:warn at C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\lib\PgUpsertPlugin.js:316:13
graphile-build:warn at Array.reduce (<anonymous>)
graphile-build:warn at PgUpsertPlugin/GraphQLObjectType:fields/unnamed (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\lib\PgUpsertPlugin.js:312:40)
graphile-build:warn at SchemaBuilder.applyHooks (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\SchemaBuilder.js:252:20)
graphile-build:warn at fields (C:\Users\glenn.matthys\Documents\Projects\bigfox-gql-api\node_modules\graphile-build\node8plus\makeNewBuild.js:505:40) +121ms
Postgraphile configuration:
import pgGlobalIds from '@graphile/global-ids';
import pgNestedMutations from 'postgraphile-plugin-nested-mutations';
postgraphile(
process.env[ENV_DATABASE_URL],
['public'],
{
appendPlugins:
[
pgNestedMutations,
pgGlobalIds
]
}
);
When trying to use this plugin in conjunction with postgraphile-plugin-nested-mutations, warnings are emitted on startup and all mutations are missing from the GraphQL schema:
Postgraphile configuration: