Repository navigation
Commit 456a02b
committed
codegen/json: write an unset type_expr as null again
The regex that stripped the member from protojson's output was a hack
around EmitUnpopulated, which has no per-field form. A column the
legacy path typed now carries "type_expr": null like every other
unset message field, and the goldens are regenerated.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT1 parent 61ee60d commit 456a02b
3 files changed
Lines changed: 9916 additions & 4975 deletions
File tree
- internal
- codegen/json
- endtoend/testdata
- codegen_json/gen
- process_plugin_sqlc_gen_json/gen
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
0 commit comments