Skip to content

Conversation

dstaley
Copy link
Contributor

@dstaley dstaley commented Jan 18, 2023

🎟️ Asana Task


Description

This PR introduces some small updates to our GraphQL infrastructure that unlocks the ability to codegen GraphQL queries. This is accomplished via:

  1. Updating @hashicorp/platform-nextjs-plugin to use graphql-tag/loader instead of raw-loader for graphql files
  2. Removing the empty module declaration for .graphql files
  3. Updating rivet-graphql to the latest version which supports parsed GraphQL objects (in addition to raw strings)

Related PRs:

PR Checklist 🚀

  • Conduct thorough self-review.
  • Add or update tests as appropriate.
  • Write a useful description (above) to give reviewers appropriate context.
  • Identify (in the description above) and document (add Asana tasks on this board) any technical debt that you're aware of, but are not addressing as part of this PR.

@dstaley dstaley added the release:canary Publish a canary release label Jan 18, 2023
@changeset-bot
Copy link

changeset-bot bot commented Jan 18, 2023

🦋 Changeset detected

Latest commit: 02ed506

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@hashicorp/platform-nextjs-plugin Minor
@hashicorp/platform-types Minor
@hashicorp/platform-cms Minor
@hashicorp/platform-markdown-utils Patch
@hashicorp/platform-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Jan 18, 2023

📦 Canary Packages Published

Latest commit: 02ed506

Published 5 packages

@hashicorp/[email protected]

npm install @hashicorp/platform-cli@canary

@hashicorp/[email protected]

npm install @hashicorp/platform-cms@canary

@hashicorp/[email protected]

npm install @hashicorp/platform-markdown-utils@canary

@hashicorp/[email protected]

npm install @hashicorp/platform-nextjs-plugin@canary

@hashicorp/[email protected]

npm install @hashicorp/platform-types@canary

@dstaley dstaley changed the title chore(deps): bump rivet-graphql feat: support graphql codegen Feb 28, 2023
@dstaley dstaley requested a review from a team February 28, 2023 16:45
Copy link
Contributor

@brkalow brkalow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 🚢

@dstaley dstaley merged commit 58fb963 into main Apr 25, 2023
@dstaley dstaley deleted the ds.cms-rivet branch April 25, 2023 22:51
@hashibot-web hashibot-web mentioned this pull request Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:canary Publish a canary release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants