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 schema.root_operation_name(OperationType) HIR helper method #579

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

SimonSapin
Copy link
Contributor

I’ve recently needed this in a couple different places of Apollo Router. (For now I’ve used the explicit match instead.)

@SimonSapin SimonSapin self-assigned this Jun 9, 2023
Copy link
Member

@lrlna lrlna left a comment

Choose a reason for hiding this comment

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

yepp totally makes sense

@goto-bus-stop goto-bus-stop merged commit ee57548 into main Jun 12, 2023
@goto-bus-stop goto-bus-stop deleted the schema-root-op-name branch June 12, 2023 08:38
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.

3 participants