Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gatsby v5 support #74

Open
6 tasks
reedws opened this issue Jan 29, 2025 · 0 comments
Open
6 tasks

Gatsby v5 support #74

reedws opened this issue Jan 29, 2025 · 0 comments

Comments

@reedws
Copy link

reedws commented Jan 29, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant