-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for custom scalars #9
Comments
At the moment, there is not support for custom scalar types. I will have a look at it. |
thanks @byme8, btw this is how Strawberry Shake client treats custom scalars. Maybe it gives you some ideas |
Should a schema that contains a TimeSpan start failing after upgrading to v2.1.0? I am going to try to follow your readme and make a custom scalar for |
At the moment, it will fail. It is not bootstrapped correctly in the library. It is possible to define it as a custom scalar, but it would be much better to handle it as a system type. I already started working on it and noticed that HotChocolate and System.Text.Json serialize |
You rock! Thanks. |
@DaveRMaltby Starting from v3.3.0-preview.2 the |
@byme8, great! Thank you sir. I'll take advantage of it. |
in schema it looks like:
Does it support custom scalars? I've generated client from schema that uses Mongo ObjectId, and got this error
The text was updated successfully, but these errors were encountered: