w3c / webauthn

Web Authentication: An API for accessing Public Key Credentials
https://w3c.github.io/webauthn/
Other
1.19k stars 171 forks source link

Rename PublicKeyCredentialHints to PublicKeyCredentialHint? #2112

Closed emlun closed 2 months ago

emlun commented 3 months ago

All the other enums defined in the spec have enum names in singular:

PublicKeyCredentialHints is the only odd one out whose name is in plural. I think singular is also the better convention since values of the enum are a single value at a time, not a collection of several of the enum values.

Proposed Change

Rename the enum PublicKeyCredentialHints to PublicKeyCredentialHint.

timcappalli commented 3 months ago

Makes sense to me