You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
In peer-star-app we pass around PeerInfo objects to represent peers in apps and collaborations.
Once we introduce identity and capabilities, we need to encode and exchange this new information, and I'm thinking whether the PeerInfo objects would be the best place for this.
If yes, is there a safe extension mechanism where an app can store arbitrary information about a peer?
The text was updated successfully, but these errors were encountered:
I like this idea. One possible way to ensure that those extensions do not conflict with each other is by using Symbols. The extensions would have a "getter" where you pass the PeerInfo and it would return the underlying data. For instance, getIdentity(PeerInfo) would return that symbol key's value that the identity extension created.
In peer-star-app we pass around
PeerInfo
objects to represent peers in apps and collaborations.Once we introduce identity and capabilities, we need to encode and exchange this new information, and I'm thinking whether the
PeerInfo
objects would be the best place for this.If yes, is there a safe extension mechanism where an app can store arbitrary information about a peer?
The text was updated successfully, but these errors were encountered: