-
Notifications
You must be signed in to change notification settings - Fork 36
Deprecate field-key in favor of field-name
#127
Deprecate field-key in favor of field-name
#127
Conversation
The PR updating this only caught the 0.3-draft APIs, presumably by accident. Including it in this change since we're touching the header names already.
515e6ae to
103dded
Compare
|
Changing this to a draft PR: |
103dded to
84a99f4
Compare
|
This needs WebAssembly/wit-abi-up-to-date#28 to land and be published so we can update |
lukewagner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Cool to see @deprecated in action.
Co-Authored-By: Luke Wagner <[email protected]>
Co-Authored-By: Luke Wagner <[email protected]>
Co-Authored-By: Luke Wagner <[email protected]>
|
Realized just now that we'd set the
|
Closes #107.
This deprecates
field-keyin favor offield-nameusing the@deprecatedattribute in WIT. This is the first deprecation we're running in WASI, making this the first field test of it in our tooling. The way I've implemented the type change is by doing the following:I don't know WIT's type system well enough to know whether I could instead just have written:
This PR also catches a case for #117 that #121 missed: only the
0.3.0-draftAPIs had their prose text updated about casing. That seemed to be on accident - and since we're touching thefield-keyAPI's text anyway, that seemed like something easy to include here.Thanks!