Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

OperationName is passed for unnamed queries #401

Open
nikolay-popov-ideogram opened this issue Oct 17, 2022 · 1 comment
Open

OperationName is passed for unnamed queries #401

nikolay-popov-ideogram opened this issue Oct 17, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@nikolay-popov-ideogram
Copy link

Bug description

The problem I'm facing in 7.9.0-beta is that operationName property of my query class is always generating with the value that equals the output file name. So, when I'm using unnamed source query, the request fails with an error like "Unknown operation named ...". I tried to turn off the generate_queries option but nothing changed. The only way to solve this is to name raw queries explicitly. Is there any way to turn off the feature that generates operation names? Or is there any other approach you recommend.

Specs

Artemis version: 7.9.0-beta

@nikolay-popov-ideogram nikolay-popov-ideogram added the bug Something isn't working label Oct 17, 2022
@vasilich6107
Copy link
Collaborator

vasilich6107 commented Nov 14, 2022

Could you attach Any code samples to demo the issue?
The issue template asked you to do that…
fill the issue properly to get help(with schemas and queries for reproduction)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants