Commit a6b2461
authored
Take
I noticed in
#8803 (comment)
that there are some typed UUIDs leaking into the external API. As I said
in the comment, I don't think this information is likely to be useful
for clients because we don't actually use it in any of the request body
types, only the responses.
I don't think this change hurts correctness in our code because the
conversion to generic UUID usually happens right at the end of request
handling, when models are converted to views for response serialization.
However, there are a couple of spots where the struct is used a little
earlier in the process (see how the affinity datastore functions return
view structs) or is shared with internal API code, so there may be a
tiny risk to correctness.TypedUuids out of the external API (#8910)1 parent f3e71b0 commit a6b2461
6 files changed
Lines changed: 28 additions & 37 deletions
File tree
- common/src/api/external
- dev-tools/omdb/src/bin/omdb
- nexus/types/src/external_api
- openapi
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
1304 | | - | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
1305 | 1310 | | |
1306 | 1311 | | |
1307 | 1312 | | |
| |||
1332 | 1337 | | |
1333 | 1338 | | |
1334 | 1339 | | |
1335 | | - | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
1336 | 1346 | | |
1337 | 1347 | | |
1338 | 1348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4072 | 4072 | | |
4073 | 4073 | | |
4074 | 4074 | | |
4075 | | - | |
| 4075 | + | |
4076 | 4076 | | |
4077 | 4077 | | |
4078 | 4078 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| 645 | + | |
645 | 646 | | |
646 | 647 | | |
647 | 648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1308 | 1308 | | |
1309 | 1309 | | |
1310 | 1310 | | |
| 1311 | + | |
1311 | 1312 | | |
1312 | 1313 | | |
1313 | 1314 | | |
1314 | 1315 | | |
1315 | 1316 | | |
1316 | 1317 | | |
| 1318 | + | |
1317 | 1319 | | |
1318 | 1320 | | |
1319 | 1321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8573 | 8573 | | |
8574 | 8574 | | |
8575 | 8575 | | |
8576 | | - | |
| 8576 | + | |
| 8577 | + | |
8577 | 8578 | | |
8578 | 8579 | | |
8579 | 8580 | | |
| |||
8843 | 8844 | | |
8844 | 8845 | | |
8845 | 8846 | | |
8846 | | - | |
8847 | | - | |
8848 | | - | |
8849 | | - | |
8850 | 8847 | | |
8851 | 8848 | | |
8852 | 8849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13826 | 13826 | | |
13827 | 13827 | | |
13828 | 13828 | | |
13829 | | - | |
| 13829 | + | |
| 13830 | + | |
13830 | 13831 | | |
13831 | 13832 | | |
13832 | 13833 | | |
| |||
13993 | 13994 | | |
13994 | 13995 | | |
13995 | 13996 | | |
13996 | | - | |
13997 | | - | |
13998 | | - | |
13999 | | - | |
14000 | | - | |
| 13997 | + | |
| 13998 | + | |
14001 | 13999 | | |
14002 | 14000 | | |
14003 | 14001 | | |
| |||
14014 | 14012 | | |
14015 | 14013 | | |
14016 | 14014 | | |
14017 | | - | |
14018 | | - | |
14019 | | - | |
14020 | | - | |
14021 | | - | |
| 14015 | + | |
| 14016 | + | |
14022 | 14017 | | |
14023 | 14018 | | |
14024 | 14019 | | |
| |||
14514 | 14509 | | |
14515 | 14510 | | |
14516 | 14511 | | |
14517 | | - | |
| 14512 | + | |
| 14513 | + | |
14518 | 14514 | | |
14519 | 14515 | | |
14520 | 14516 | | |
| |||
24585 | 24581 | | |
24586 | 24582 | | |
24587 | 24583 | | |
24588 | | - | |
| 24584 | + | |
| 24585 | + | |
24589 | 24586 | | |
24590 | 24587 | | |
24591 | 24588 | | |
| |||
25995 | 25992 | | |
25996 | 25993 | | |
25997 | 25994 | | |
25998 | | - | |
25999 | | - | |
26000 | | - | |
26001 | | - | |
26002 | | - | |
26003 | | - | |
26004 | | - | |
26005 | | - | |
26006 | | - | |
26007 | | - | |
26008 | | - | |
26009 | | - | |
26010 | | - | |
26011 | | - | |
26012 | | - | |
26013 | | - | |
26014 | 25995 | | |
26015 | 25996 | | |
26016 | 25997 | | |
| |||
0 commit comments