Commit 589d48b
Fix nullable UUID type mismatch in Go code generator (DataDog#4172)
* Fix nullable UUID type mismatch in Go code generator
Nullable UUID fields (format: uuid, nullable: true) were being mapped to
NullableString, causing getter/setter methods to return *string while
the method signatures expected uuid.UUID — a compile error.
Add a dedicated NullableUUID type to utils.j2 and update formatter.py
to use it for nullable uuid fields instead of NullableString.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* pre-commit fixes
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 76701140 parents commit 589d48b
7,326 files changed
Lines changed: 3903006 additions & 0 deletions
File tree
- lib/godoc
- analysis
- gopher
- images
- pkg
- github.com
- DataDog
- datadog-api-client-go
- v2
- api
- datadogV1
- datadogV2
- datadog
- src/github.com/DataDog/datadog-api-client-go/v2/api
- datadogV1
- datadogV2
- datadog
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Loading
Loading
Loading
Loading
Loading
Loading
Loading
0 commit comments