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

Add postTransform option to allow apply custom transformations after schema mapping #20

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

wKich
Copy link
Member

@wKich wKich commented Feb 22, 2024

Motivation

Backstage GraphQL Plugin requires to generate an input type for entities query filter argument according to @field directives

Approach

I decided that it might be good idea to define post schema transformations on GraphQL modules' level and apply in the same order as schema merged. It also allows us to define schema transformations and don't overwhelm end user asking them to apply additional transformations to a schema.

…schema mapping

Signed-off-by: Dmitriy Lazarev <w@kich.dev>
@wKich wKich requested review from cowboyd and taras February 22, 2024 20:49
Copy link
Member

@taras taras left a comment

Choose a reason for hiding this comment

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

👍

@wKich wKich merged commit 114927e into main Feb 22, 2024
2 checks passed
@wKich wKich deleted the dl/post-transform-v2 branch February 22, 2024 20:59
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