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: GraphiQL v2 #36541

Merged
merged 19 commits into from
Oct 18, 2022
Merged

feat: GraphiQL v2 #36541

merged 19 commits into from
Oct 18, 2022

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Sep 5, 2022

Description

New GraphiQL version is out with some nice, new features!

TODOs:

Documentation

We need to update some internal docs like:

Separate PR: #36837

External: https://github.com/graphql/graphiql/blob/main/docs/migration/graphiql-2.0.0.md

Related Issues

[ch55244]

@LekoArts LekoArts added the topic: DX Developer Experience (e.g. Fast Refresh, i18n, SSR, page creation, starters) label Sep 5, 2022
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 5, 2022
@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 5, 2022
@LekoArts LekoArts added this to the Gatsby 5 milestone Sep 6, 2022
@LekoArts LekoArts marked this pull request as ready for review October 18, 2022 08:12
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

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

one change needed and we can merge

e2e-tests/development-runtime/package.json Outdated Show resolved Hide resolved
const fragmentsUrlHandler = path.posix.join(graphqlEndpoint, `fragments`)

expressApp.get(bundleUrlHandler, (_req, res) => {
res.set(`Cache-Control`, `public, max-age=31557600`)
Copy link
Contributor

Choose a reason for hiding this comment

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

this Cache-Control (which I know is copied from current stuff), in general seems problematic because it does force "force refresh" or disabling browser cache. So not for this PR, but probably something for next time we mess with with graphiql app (or maybe add etag somehow to be able to invalidate browser cache)

@LekoArts LekoArts merged commit 55a601d into master Oct 18, 2022
@LekoArts LekoArts deleted the graphiql-v2 branch October 18, 2022 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: DX Developer Experience (e.g. Fast Refresh, i18n, SSR, page creation, starters)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants