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

Setup graphql plugin #176

Merged
merged 5 commits into from
Oct 20, 2023
Merged

Setup graphql plugin #176

merged 5 commits into from
Oct 20, 2023

Conversation

taras
Copy link
Member

@taras taras commented Oct 20, 2023

Motivation

We want to show Backstage's GraphQL capabilities and how GraphQL can be integrated into Backstage.

Queryable GraphiQL interface

image

GraphiQL with Schema Definition

image

Approach

  1. Installed GraphQL Backend plugin
  2. I added [email protected] to the resolution because the GraphQL Backend uses a newer GraphQL version, but all other plugins are at 16.2.0. I checked backstage/backstage, and it uses 16.8.1; maybe it'll get upgraded in an upcoming release.
  3. Added GraphQL Backend to GraphiQL
  4. Added demo-graphql to catalog-info.yaml and registered it as a location

@taras taras marked this pull request as ready for review October 20, 2023 19:51
Copy link
Collaborator

@awanlin awanlin left a comment

Choose a reason for hiding this comment

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

Thanks for this @taras, just have one comment

package.json Show resolved Hide resolved
@awanlin
Copy link
Collaborator

awanlin commented Oct 20, 2023

Now we just need the build to go green 🤔

@taras
Copy link
Member Author

taras commented Oct 20, 2023

@awanlin it looks like it's defaulting to @types/node@17 but engines is 18 | 20. I installed @types/node@^18.0.0 in the root workspace, and it bumped it to use node 18.

Copy link
Collaborator

@awanlin awanlin left a comment

Choose a reason for hiding this comment

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

🚀

@awanlin awanlin merged commit 1485917 into backstage:master Oct 20, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants