Skip to content

Gatsby v5 support #74

Open
Open
@reedws

Description

Feature description

Currently this plugin does not work with Gatsby v5

Motivating example

When running with gastby v5 this error appears:

"gatsby-source-pg" threw an error while running the createSchemaCustomization lifecycle:

Cannot use GraphQLObjectType "{ name: "PostGraphile", description: "PostGraphile Query type, gives access to data from PostgreSQL", isTypeOf: undefined,
extensions: {}, astNode: undefined, extensionASTNodes: [], _fields: [function], _interfaces: [function] }" from another module or realm.

Missing onError handler for invocation 'building-schema', error was 'Error: Cannot create as TypeComposer the following value:
  GraphQLScalarType({ name: "Date", description: "A date string, such as 2007-12-03, compliant with the ISO 8601 standard for representation of dates and
times using the Gregorian calendar.", specifiedByURL: undefined, serialize: [function String], parseValue: [function String], parseLiteral: [function
parseLiteral], extensions: {  }, astNode: undefined, extensionASTNodes: [] }).'. Stacktrace was 'Error: Cannot create as TypeComposer the following value:
  GraphQLScalarType({ name: "Date", description: "A date string, such as 2007-12-03, compliant with the ISO 8601 standard for representation of dates and
times using the Gregorian calendar.", specifiedByURL: undefined, serialize: [function String], parseValue: [function String], parseLiteral: [function
parseLiteral], extensions: {  }, astNode: undefined, extensionASTNodes: [] }).

Breaking changes

Supporting development

I [tick all that apply]:

  • am interested in building this feature myself
  • am interested in collaborating on building this feature
  • am willing to help testing this feature before it's released
  • am willing to write a test-driven test suite for this feature (before it exists)
  • am a Graphile sponsor ❤️
  • have an active support or consultancy contract with Graphile

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions