-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#es-to-dictionary and #dictionary-to-es do not have reader-discernable titles #228
Comments
I guess this is a Bikeshed issue where it is not generating self-link anchors for |
It should have a |
The issue here is that Web IDL defines the general concept of "convert an ES value to an IDL value" with a |
What's wrong with putting in more specific dfns too? |
@bzbarsky is suggesting that WebAuthn link directly to https://heycam.github.io/webidl/#dictionary-to-es -- which is the most precise thing for us to link to. I am simply noting that one cannot do this today without looking into WebIDL's index.bs source file, or getting the I note that WebCrypto (which @bzbarsky cited as an example) does not actually link to the
..maybe that is sufficient (it seems to essentially be what @domenic is suggesting). |
I always feel it's best to link to the most specific thing, instead of just generically linking to "WebIDL" and letting the poor reader try to figure out which part of WebIDL is relevant in this specific case. But maybe that's just me.... I agree that the "easter egg" nature of the |
I agree with @tabatkins that IDL should just add more |
Right. Planning to add DFNs to each algorithm. Naming wise, let's do UpperCamelCase so we can then use these as:
The conversion algorithms which convert ES values to specific IDL types could be named So the IDL Dictionary <-> ES value algorithms would be changed to:
If there's agreement around the plan + naming, I'll go ahead and submit a PR for these. |
Use |
I am leery of using this particular instance as the gateway to changing from normal English phrases as algorithm names, to ES-style PascalCaseAbstractOps. The web spec space has gotten along great with English phrases until now and I'm not sure how I feel about breaking that tradition so suddenly. But I don't care much so don't let me stop you. |
..and thus are difficult for readers to easily obtain a link to for use in another spec.
The text was updated successfully, but these errors were encountered: