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

Custom scalars support #371

Open
dmytro-shpak opened this issue May 22, 2022 · 2 comments
Open

Custom scalars support #371

dmytro-shpak opened this issue May 22, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dmytro-shpak
Copy link
Contributor

Hi!
The mst-gql looks very promising tool for me. But i have not found the Custom Scalars support. That feature could be implemented by --fieldOverrides flag or by manual extending of Model.base.

I am working on --customScalars feature now (#370). The root idea is to allow to inject custom scalars implemented with types.custom to generated code by scalar name.

Is it a good idea or custom scalars could be handled in some other common way?
Is it a good idea to add that feature to the main mst-gql project?

@dmytro-shpak
Copy link
Contributor Author

It looks like more correct idea is to extend the ** --fieldOverrides** by one more field to allow import custom scalars from some file

@dmytro-shpak
Copy link
Contributor Author

The version with extended --fieldOverrides is created #375

@jesse-savary jesse-savary added the enhancement New feature or request label Nov 6, 2022
@jesse-savary jesse-savary self-assigned this Nov 6, 2022
@jesse-savary jesse-savary added this to the v0.19.0 milestone Nov 6, 2022
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

No branches or pull requests

2 participants