-
Notifications
You must be signed in to change notification settings - Fork 81
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
Add nameplates fn #184
Add nameplates fn #184
Conversation
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.
Looking okay so far. One thing I'm unsure about is any public API: as proposed here, you'd need access to the RendezvousServer
in order to make the call. As far as I can tell, it is only exposed when using Wormhole::connect_custom
.
I don't know what the intended use cases are*, so maybe this is all the necessary API.
* autocompletion is out
I updated the linked issue with more information about the use case. |
That would be okay to do, however it should be opt-in, as in most scenarios you actually don't want such a check. |
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.
Please make the commit history pretty (squashing everything together is okay too) and then we are good to go.
Edit: CI got fixed, please also rebase for that
- Adds `list_nameplates` which returns a list of currently claimed nameplates - Adds a new argument (`expect_claimed_nameplate`) to `connect_with_code`. When true, the function will return an error if the nameplate is not claimed
7c13ce8
to
3daaded
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #184 +/- ##
==========================================
+ Coverage 43.15% 44.08% +0.92%
==========================================
Files 18 18
Lines 2542 2552 +10
==========================================
+ Hits 1097 1125 +28
+ Misses 1445 1427 -18
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@piegamesde I squashed and rebased 👍 |
Ref: #183