Skip to content

Commit

Permalink
Correct the default format for UUIDs (#6013)
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 authored Apr 2, 2023
1 parent fb87acc commit 09319a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/HotChocolate/Core/src/Types/Types/Scalars/UuidType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public UuidType() : this('\0')
/// <param name="defaultFormat">
/// The expected format of GUID strings by this scalar.
/// <c>'N'</c>: nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
/// <c>'D'</c>(default): nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn
/// <c>'D'</c> (default): nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn
/// <c>'B'</c>: {nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn}
/// <c>'P'</c>: (nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn)
/// </param>
Expand Down Expand Up @@ -58,8 +58,8 @@ public UuidType(char defaultFormat = '\0', bool enforceFormat = false)
/// </param>
/// <param name="defaultFormat">
/// The expected format of GUID strings by this scalar.
/// <c>'N'</c> (default): nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
/// <c>'D'</c>: nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn
/// <c>'N'</c>: nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
/// <c>'D'</c> (default): nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn
/// <c>'B'</c>: {nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn}
/// <c>'P'</c>: (nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn)
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ The `Uuid` scalar supports the following serialization formats.

| Specifier | Format |
| ----------- | -------------------------------------------------------------------- |
| N (default) | 00000000000000000000000000000000 |
| D | 00000000-0000-0000-0000-000000000000 |
| N | 00000000000000000000000000000000 |
| D (default) | 00000000-0000-0000-0000-000000000000 |
| B | {00000000-0000-0000-0000-000000000000} |
| P | (00000000-0000-0000-0000-000000000000) |
| X | {0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} |
Expand Down

0 comments on commit 09319a2

Please sign in to comment.