Re: [webauthn] New PublicKeyCredential methods for JSON (de)serialization (#1703)

> How about:
> 
> * `PublicKeyCredentialCreationOptions.fromJSON()`
> * `PublicKeyCredentialRequestOptions.fromJSON()`

These two types are dictionaries and not interfaces; as such they don't have an exposed name and can't define operations. 

If they had been defined as interfaces this would indeed have been the logical place. I don't know if there are ways to mitigate the compatibility breakage of such a change at this point.

-- 
GitHub Notification of comment by dwaite
Please view or discuss this issue at https://github.com/w3c/webauthn/pull/1703#issuecomment-1094198018 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 10 April 2022 06:51:22 UTC