-
Notifications
You must be signed in to change notification settings - Fork 3
Query Planner as Node.js addon #527
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
Conversation
✅
|
|
🐋 This PR was built and pushed to the following Docker images: Image Names: Platforms: Image Tags: Docker metadata{
"buildx.build.ref": "builder-a3beb108-e445-4cc5-a20f-f8d3d8706115/builder-a3beb108-e445-4cc5-a20f-f8d3d87061150/5po8t4dzjz718dtby73lfc641",
"containerimage.descriptor": {
"mediaType": "application/vnd.oci.image.index.v1+json",
"digest": "sha256:7132049d8cc18badc51f2e4e76eb8ee72096a5a7fb3bbd965ef53d9608936e09",
"size": 1609
},
"containerimage.digest": "sha256:7132049d8cc18badc51f2e4e76eb8ee72096a5a7fb3bbd965ef53d9608936e09",
"image.name": "ghcr.io/graphql-hive/router:pr-527,ghcr.io/graphql-hive/router:sha-eb47e55"
} |
# Conflicts: # release-plz.toml
|
🐋 This PR was built and pushed to the following Docker images: Image Names: Platforms: Image Tags: Docker metadata{
"buildx.build.ref": "builder-0660cebc-f6ec-4444-86b8-e6a12a864bae/builder-0660cebc-f6ec-4444-86b8-e6a12a864bae0/1i5hriialh6w4e9i2q2ryzquo",
"containerimage.descriptor": {
"mediaType": "application/vnd.oci.image.index.v1+json",
"digest": "sha256:26126dddc90d5b9e5016167cbe8a11fbf4a7e290a56b07e1c973d5e1d09a9d39",
"size": 1609
},
"containerimage.digest": "sha256:26126dddc90d5b9e5016167cbe8a11fbf4a7e290a56b07e1c973d5e1d09a9d39",
"image.name": "ghcr.io/graphql-hive/router:pr-527,ghcr.io/graphql-hive/router:sha-0d40e0b"
} |
| napi::Error::from_reason(format!("Failed to create query planner: {}", err)) | ||
| })?; | ||
|
|
||
| let consumer_schema = planner.consumer_schema.document.to_string(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't use this, do we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't, I was experimenting and left the consumer schema here. Could be useful for others.
Ref ROUTER-191
Related graphql-hive/gateway#1629
Distributed as a npm package on
@graphql-hive/router-query-plannerusing NAPI-RS.Manually released under
@graphql-hive/router-query-planneron npm.See node addon readme.
TODO