-
Notifications
You must be signed in to change notification settings - Fork 15
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
New %contacts agent #283
New %contacts agent #283
Conversation
9b87ac4
to
4b35132
Compare
90c93f5
to
9382767
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on call, comments and concerns inside.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bulk of the changes here look good, just a few issues
f35d637
to
723717c
Compare
02ac5fb
to
36cbc66
Compare
lib-subscriber expects that subscription wires contain enough information to differentiate subscriptions, which is not true for in %contacts: the /contact wire does not carry peer information.
36cbc66
to
730eb97
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good just one last small change then g2g
I successfully migrated a moon and was able to update profile information without changing the frontend (after the requested change) |
Does editing a profile work from the existing front-end? |
@jamesacklin yep |
Co-authored-by: Hunter Miller <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thank you. Let's keep this off |
The .saga field of $foreign used to be defined as a nullable type $@(~ saga). However, $saga itself can take on atomic values, breaking the semantics of $@. Hoon compiler does not catch this error at compile time, however validating the type (and any type containing it) is going to fail.
e81e94e
to
384939f
Compare
The new %contacts agent supports a user-defined contact book. To that end, new types and state are introduced. The agent remains backward compatible on local (
/news
) endpoint, while foreign subscriptions are now managed withlib-negotiate
and exposed over versioned endpoints. Implements TLON-2620.