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
Allow overriding query convention result name per field #7083
Comments
To be clear, if I currently have two identically named fields (in different parts of the hierarchy) that both use query conventions, then fetching the schema fails with:
|
Ideally, there'd be a global option to automatically name the field similar to |
Product
Hot Chocolate
Is your feature request related to a problem?
Currently, HotChocolate names the query convention result types by the field.
I have several fields in different parts of the hierarchy with the same name, and I need to use query conventions for both.
The solution you'd like
The ability to override the query convention result type name per field using an attribute, just like overriding the result type name for mutation conventions or the connection name for pagination.
The text was updated successfully, but these errors were encountered: