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

Impossible to specify both name and input_name #987

Closed
sunli829 opened this issue Jul 18, 2022 Discussed in #985 · 2 comments
Closed

Impossible to specify both name and input_name #987

sunli829 opened this issue Jul 18, 2022 Discussed in #985 · 2 comments

Comments

@sunli829
Copy link
Collaborator

Discussed in #985

Originally posted by dspicher July 14, 2022
I am trying to derive both SimpleObject and InputObject on a struct, and would like to rename both objects to something different than the struct name.

Looking at the source, this seems impossible, as name is given preference over input_name for the InputObject, leading to a name collision. I would have expected this to be the other way around.

Do you consider this a bug or a feature? :)

@sunli829
Copy link
Collaborator Author

sunli829 commented Jul 18, 2022

Fixed in v4.0.5

@dspicher
Copy link
Contributor

Great stuff, thanks @sunli829 for the rapid fix!

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

No branches or pull requests

2 participants