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

feat(gatsby): Initial GraphQL Typegen Implementation #35487

Merged
merged 36 commits into from
May 3, 2022
Merged

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Apr 25, 2022

Description

Initial PR for #35420.

Work to be done:

  • Only TypeScript support
  • Support for gatsby-node.ts (also in local plugins)
  • Generate graphql.config.json configuration for GraphQL language server
  • Generate config, schema, types on initial start of development server (at the end to not slow down startup time)
  • Re-Generate schema and types through hot-reloading in gatsby develop
  • Add initial E2E tests

Documentation

In one of the later PRs a new documentation page should be added with more information about this. Not in this PR though.

Related Issues

#35420

[ch49660]
[ch49658]

@LekoArts LekoArts added topic: GraphQL Related to Gatsby's GraphQL layer topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) topic: TypeScript Issues and PRs related to TS in general, public typings or gatsby-plugin-typescript labels Apr 25, 2022
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Apr 25, 2022
@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Apr 25, 2022
@LekoArts LekoArts marked this pull request as ready for review April 27, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) topic: GraphQL Related to Gatsby's GraphQL layer topic: TypeScript Issues and PRs related to TS in general, public typings or gatsby-plugin-typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants