[graphql] Add ./mutation-engine subpath export for standalone mutation pipeline usage - #11565
Merged
Timothee Guerin (timotheeguerin) merged 3 commits intoAug 5, 2026
Conversation
…n pipeline usage Add a `./mutation-engine` subpath export to enable consumers to use the GraphQL mutation pipeline independently of the emitter. This is needed for multi-stage mutation pipelines where GraphQL transformations run as an intermediate stage. The subpath exports mutateSchema, createGraphQLMutationEngine, resolveTypeUsage, GraphQLTypeContext, TypeGraph, and the mutation classes. This keeps the render path (graphql, alloy) separate from the mutation path, avoiding unnecessary dependencies for mutation-only consumers.
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Timothee Guerin (timotheeguerin)
approved these changes
Aug 5, 2026
commit: |
Contributor
|
All changed packages have been documented.
Show changes
|
Add subpath export for mutation engine usage in GraphQL.
…-56.md Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
Timothee Guerin (timotheeguerin)
enabled auto-merge
August 5, 2026 18:33
Timothee Guerin (timotheeguerin)
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a
./mutation-enginesubpath export to@typespec/graphqlto enable consumers to use the GraphQL mutation pipeline independently of the emitter. This allows for other future GraphQL related packages to use the GraphQL mutation engine to transform the input TSP into GraphQL compatible shapes in using the same library, reducing duplicate implementations.The subpath exports:
mutateSchema,createGraphQLMutationEngine— orchestrationresolveTypeUsage— type usage analysis (input vs output)GraphQLTypeContext,TypeGraph— typesGraphQLModelMutation, etc.)Test plan