Uh oh!
There was an error while loading. Please reload this page.
Make all TokenDetail fields apart from token optional - #1427
Conversation
RSA16b says: If the library is provided with a token without the corresponding TokenDetails, then this holds a TokenDetails instance in which only the token attribute is populated with that token string
Morganamilo
commented
May 16, 2022
Similarly, |
lmars
commented
May 17, 2022
@Morganamilo having chatted with Paddy, I think if we are to make a change here, it should probably be to stop wrapping token strings in a In the Rust SDK, we have the |
Morganamilo
commented
May 24, 2022
I didn't see this reply sorry. I actually changed the rust to be this: pubstructTokenDetails{pubtoken:String,pubmetadata:Option<TokenMetadata>,}pubstructTokenMetadata{pubexpires:DateTime<Utc>,pubissued:DateTime<Utc>,pubcapability:String,pubclient_id:Option<String>,}Maybe this would work better on the IDL. |
QuintinWillison
commented
Sep 16, 2022
This work will be revisited once the features spec has been moved to its new home under ably/specification#1. |
Description
RSA16b says:
If the library is provided with a token without the corresponding
TokenDetails, then this holds a TokenDetails instance in which only
the token attribute is populated with that token string