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(include,serve-cli,compose-cli): Optionally use native import for importing #7494

Merged
merged 5 commits into from
Aug 13, 2024

Conversation

enisdenjo
Copy link
Collaborator

Closes #7342

When you want to use the native import function instead of jiti for importing configs, simply pass in the --native-import flag to the serve/compose CLI.

Copy link
Contributor

github-actions bot commented Aug 12, 2024

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

github-actions bot commented Aug 12, 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/cache-cfw-kv 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-file 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-localforage 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/cache-redis 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/compose-cli 0.8.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/cross-helpers 0.4.6-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/fusion-composition 0.3.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/fusion-runtime 0.7.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/include 0.1.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/apollo-link 0.102.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/cli 0.94.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/config 0.103.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/graphql 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/grpc 0.103.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/json-schema 0.105.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/mongoose 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/mysql 0.102.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/neo4j 0.102.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/odata 0.103.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/openapi 0.105.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/postgraphile 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/raml 0.105.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/soap 0.103.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/supergraph 0.7.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/thrift 0.103.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/tuql 0.102.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/http 0.102.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-bare 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-federation 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/merger-stitching 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/runtime 0.102.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/store 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-cache 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-encapsulate 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-extend 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-federation 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-filter-schema 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-hive 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-hoist-field 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-naming-convention 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-prefix 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-prune 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-rate-limit 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-rename 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-replace-field 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-resolvers-composition 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-transfer-schema 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transform-type-merging 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/types 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/urql-exchange 0.102.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/utils 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@omnigraph/json-schema 0.105.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@omnigraph/mysql 0.6.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@omnigraph/neo4j 0.6.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@omnigraph/openapi 0.105.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@omnigraph/raml 0.105.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@omnigraph/soap 0.103.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@omnigraph/sqlite 0.5.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@omnigraph/thrift 0.6.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-deduplicate-request 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-hive 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/hmac-upstream-signature 0.2.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-http-cache 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-http-details-extensions 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-jwt-auth 0.2.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-live-query 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-mock 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-newrelic 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-opentelemetry 0.2.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-operation-field-permissions 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-operation-headers 0.5.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-prometheus 0.104.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-rate-limit 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-response-cache 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-snapshot 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/plugin-statsd 0.101.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/serve-cli 0.10.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/serve-runtime 0.7.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-common 0.6.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-http 0.5.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-http-callback 0.2.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-mysql 0.6.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-neo4j 0.6.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-rest 0.6.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-soap 0.6.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-sqlite 0.5.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-thrift 0.6.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-ws 0.2.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Aug 12, 2024

💻 Website Preview

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

Copy link
Contributor

github-actions bot commented Aug 12, 2024

Published images for this PR are available at:

ghcr.io/ardatan/mesh-serve:0.10.0-alpha-20240813162923-b5e6de23ab596dedfdb94e27253c3829d41e91ae

@enisdenjo enisdenjo force-pushed the native-import branch 2 times, most recently from 3ab9e02 to a6fc298 Compare August 13, 2024 16:20
@enisdenjo enisdenjo merged commit 0594ffd into master Aug 13, 2024
27 of 28 checks passed
@enisdenjo enisdenjo deleted the native-import branch August 13, 2024 17:24
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.

[v1] Can't use top-level await in mesh.config.*
1 participant