-
-
Notifications
You must be signed in to change notification settings - Fork 748
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
Add NodaTime scalar types #3795
Conversation
src/HotChocolate/Core/src/Types.NodaTime/HotChocolate.Types.NodaTime.csproj
Show resolved
Hide resolved
@tobias-tengler , what do you think about documenting this? In a similar way to how extended scalars was documented? We just tabulate the readme in here in the docs? |
Yes, I think that would be best for now. |
I considered that too @tobias-tengler; the concern I had is that then we force someone to take on a dependency they might not want/need (NodaTime). That might be acceptable though. |
@michaelstaib , one thing I'm wondering about is how to elegantly do the custom scalar It seems a shame to need to copy/link the code of the core scalar type's TryDeserialize implementation over in to another project like Any thoughts on how we should approach it? |
I've added ChilliCream as package owner. 👍 |
I've also added a warning in the README of the old repository and archived it. |
src/HotChocolate/Core/src/Types.NodaTime/BaseTypes/IntToStructBaseType.cs
Outdated
Show resolved
Hide resolved
src/HotChocolate/Core/src/Types.NodaTime/BaseTypes/StringToClassBaseType.cs
Outdated
Show resolved
Hide resolved
src/HotChocolate/Core/src/Types.NodaTime/BaseTypes/StringToStructBaseType.cs
Outdated
Show resolved
Hide resolved
I can convert the documentation in the README to the website real quick. I just hope it doesn't get to full ^^ |
src/HotChocolate/Core/src/Types.NodaTime/Extensions/ISchemaBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
SonarCloud Quality Gate failed. |
I think we are ready. |
I ticked |
@benmccallum what is |
Original repo:
https://github.com/shoooe/hotchocolate-nodatime
Tasks: