10000 chore: update guts to 1.3.0, using mutations to prevent diffs · coder/coder@559f637 · GitHub
[go: up one dir, main page]

Skip to content

Commit 559f637

Browse files
committed
chore: update guts to 1.3.0, using mutations to prevent diffs
1 parent 3ab3ef8 commit 559f637

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ require (
9696
github.com/chromedp/chromedp v0.13.3
9797
github.com/cli/safeexec v1.0.1
9898
github.com/coder/flog v1.1.0
99-
github.com/coder/guts v1.1.0
99+
github.com/coder/guts v1.3.0
100100
github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0
101101
github.com/coder/quartz v0.1.2
102102
github.com/coder/retry v1.5.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,8 @@ github.com/coder/go-httpstat v0.0.0-20230801153223-321c88088322 h1:m0lPZjlQ7vdVp
901901
github.com/coder/go-httpstat v0.0.0-20230801153223-321c88088322/go.mod h1:rOLFDDVKVFiDqZFXoteXc97YXx7kFi9kYqR+2ETPkLQ=
902902
github.com/coder/go-scim/pkg/v2 v2.0.0-20230221055123-1d63c1222136 h1:0RgB61LcNs24WOxc3PBvygSNTQurm0PYPujJjLLOzs0=
903903
github.com/coder/go-scim/pkg/v2 v2.0.0-20230221055123-1d63c1222136/go.mod h1:VkD1P761nykiq75dz+4iFqIQIZka189tx1BQLOp0Skc=
904-
github.com/coder/guts v1.1.0 h1:EACEds9o4nwFjynDWsw1mvls0Xg91e74vBrqwz8BcGY=
905-
github.com/coder/guts v1.1.0/go.mod h1:31NO4z6MVTOD4WaCLqE/hUAHGgNok9sRbuMc/LZFopI=
904+
github.com/coder/guts v1.3.0 h1:Kz8LrodQCfz/R06JdCJqdxZDq0BVTTXYYQC/qY3N9fo=
905+
github.com/coder/guts v1.3.0/go.mod h1:31NO4z6MVTOD4WaCLqE/hUAHGgNok9sRbuMc/LZFopI=
906906
github.com/coder/pq v1.10.5-0.20240813183442-0c420cb5a048 h1:3jzYUlGH7ZELIH4XggXhnTnP05FCYiAFeQpoN+gNR5I=
907907
github.com/coder/pq v1.10.5-0.20240813183442-0c420cb5a048/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
908908
github.com/coder/pretty v0.0.0-20230908205945-e89ba86370e0 h1:3A0ES21Ke+FxEM8CXx9n47SZOKOpgSE1bbJzlE4qPVs=

scripts/apitypings/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ func main() {
6868
func TsMutations(ts *guts.Typescript) {
6969
ts.ApplyMutations(
7070
FixSerpentStruct,
71+
// TODO: Remove 'NotNullMaps'. This is hiding potential bugs
72+
// of referencing maps that are actually null.
73+
config.NotNullMaps,
74+
// Prefer enums as types
75+
config.EnumAsTypes,
7176
// Enum list generator
7277
config.EnumLists,
7378
// Export all top level types

0 commit comments

Comments
 (0)
0