-
-
Notifications
You must be signed in to change notification settings - Fork 799
Open
Labels
Description
Product
Hot Chocolate
Version
15.1.11
Link to minimal reproduction
graphql-platform/src/HotChocolate/Core/src/Types/Utilities/DefaultTypeConverter.Setup.cs
Line 98 in 8d40687
| registry.Register<Guid, string>(from => from.ToString("N")); |
Steps to reproduce
The documentation states that the default serialization format is "D" (00000000-0000-0000-0000-000000000000).
But if the AnyType is specified, it will end up in the DefaultTypeConverter.
Which has the Guid format registered as:
registry.Register<Guid, string>(from => from.ToString("N"));
What is expected?
DefaultTypeConvert follows documented defaults for UUID.
What is actually happening?
DefaultTypeConvert does not follow documented defaults for UUID.
Relevant log output
Additional context
No response