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

Skip default scalars #432

Open
jvliwanag opened this issue Aug 19, 2022 · 1 comment · May be fixed by #437
Open

Skip default scalars #432

jvliwanag opened this issue Aug 19, 2022 · 1 comment · May be fixed by #437
Labels
enhancement New feature or request

Comments

@jvliwanag
Copy link

Currently, default scalars are hardcoded on the generated code -- Int, Float, String, Boolean, and ID. Requesting a feature to skip defining this scalars.

My particular use case is I wish to override ID, since the ID I'm receiving follows a certain format which would be better off represented as a custom struct with its own serde serializer, deserializer.

Perhaps introducing a skip_default_scalars option makes sense.

@tomhoule tomhoule added the enhancement New feature or request label Aug 19, 2022
fenhl added a commit to fenhl/graphql-client that referenced this issue Sep 21, 2022
fenhl added a commit to fenhl/graphql-client that referenced this issue Sep 21, 2022
@fenhl fenhl linked a pull request Sep 21, 2022 that will close this issue
@bbigras
Copy link

bbigras commented Mar 1, 2023

Any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants