fix: Remove confusing zoneTag from CachePurgeResult#6600
Conversation
There was a problem hiding this comment.
I'm Bonk, and I've done a quick review of your PR.
This PR removes the zoneTag field from CachePurgeResult to clean up the API.
Issues (ranked by severity)
-
Build breakage (P0): The
kj::String zoneTagmember is removed, butzoneTagis still listed in theJSG_STRUCTmacro on the same line.JSG_STRUCTgenerates accessors for each listed field, so this will fail to compile. The macro must also be updated. -
TypeScript type snapshots need regeneration (minor):
types/generated-snapshot/still includeszoneTaginCachePurgeResult. Per repo conventions, runjust generate-typesafter fixing the C++ change to update the snapshots. (Don't edit the generated files directly.)
|
Review posted successfully on PR #6600. Here's what I found: Two issues identified:
|
9efa690 to
589a7b8
Compare
|
The generated output of |
589a7b8 to
c84972a
Compare
c84972a to
1e21892
Compare
No description provided.