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

Allow to configure persisted operations plugin #6505

Merged
merged 8 commits into from
Feb 7, 2024

Conversation

EmrysMyrddin
Copy link
Collaborator

Description

Add a working example of persisted queries.

Type of change

Please delete options that are not relevant.

  • This change requires a documentation update

Copy link

codesandbox bot commented Jan 26, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Contributor

github-actions bot commented Jan 26, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-mesh/apollo-link 0.97.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-cfw-kv 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-file 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-localforage 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-redis 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/cli 0.88.6-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/config 0.98.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/graphql 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/grpc 0.97.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/json-schema 0.97.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/mongoose 0.96.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/mysql 0.96.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/neo4j 0.96.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/odata 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/openapi 0.97.6-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/postgraphile 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/raml 0.97.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/soap 0.96.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/supergraph 0.1.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/thrift 0.97.2-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/tuql 0.97.3-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/http 0.97.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@omnigraph/json-schema 0.97.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@omnigraph/mysql 0.0.3-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@omnigraph/neo4j 0.0.3-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@omnigraph/openapi 0.97.6-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@omnigraph/raml 0.97.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@omnigraph/soap 0.96.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@omnigraph/sqlite 0.0.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@omnigraph/thrift 0.0.3-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-bare 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-federation 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-stitching 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-deduplicate-request 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-hive 0.96.6-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-http-cache 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-http-details-extensions 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-live-query 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-mock 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-newrelic 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-operation-field-permissions 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-prometheus 0.96.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-rate-limit 0.96.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-response-cache 0.96.6-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-snapshot 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-statsd 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/runtime 0.97.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/store 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-cache 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-encapsulate 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-extend 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-federation 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-filter-schema 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-hive 0.96.6-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-hoist-field 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-naming-convention 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-prefix 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-prune 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-rate-limit 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-rename 0.96.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-replace-field 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-resolvers-composition 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-transfer-schema 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-type-merging 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/types 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/urql-exchange 0.97.5-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎
@graphql-mesh/utils 0.96.4-alpha-20240129110156-bcfad0ad2ef2e420279585424a9c28658593bd23 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Jan 26, 2024

💻 Website Preview

The latest changes are available as preview in: https://5a499e05.graphql-mesh.pages.dev

@EmrysMyrddin EmrysMyrddin changed the title Add example and tests for persisted queries Allow to configure persisted operations plugin Jan 26, 2024
@@ -0,0 +1,7 @@
---
"example-persisted-operations": minor
Copy link
Owner

Choose a reason for hiding this comment

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

We don't need to bump the examples version

@@ -0,0 +1,7 @@
---
"example-persisted-operations": minor
"@graphql-mesh/config": minor
Copy link
Owner

Choose a reason for hiding this comment

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

These packages are v0 so let's keep them bumping as patch, because minor means breaking for v0

@ardatan ardatan merged commit ae7b085 into master Feb 7, 2024
16 checks passed
@enisdenjo enisdenjo deleted the valentin/docs/add-persisted-queries-example branch February 13, 2024 19:31
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