-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
Implement getting users and reopos by their respective IDs #690
Conversation
This is my first PR in Rust, so, uh. It may be not ideal. But I'm ready to improve it |
CRUCIAL UPDATE: in order to get repository by id, you need to use I'll update this later |
Another update: To get user by name, To get user by id, |
Seems like there's some breakage in tests 🙂 |
I see now why the tests fail. The thing I got very confused with is: why it worked in my project... It worked because I used IDs, but not other things... Now I need to fix this |
@XAMPPRocky tests are fixed |
Thank you for your PR, and congrats on your first contribution! 🎉 |
Fix a build issue introduced by XAMPPRocky#690 when building octocrab with the `stream` feature. Closes: XAMPPRocky#707
* fix: crate build issues with `stream` feature Fix a build issue introduced by #690 when building octocrab with the `stream` feature. Closes: #707 * style: cargo fmt * ci: add checks for `stream` feature * docs: fix release-asset stream test * Add LLVM for symboliser. * Add ubuntu check * Remove --verbose * ci: feature matrix * ci: add missing dollar sign --------- Co-authored-by: XAMPPRocky <[email protected]>
Closes #683.
Well, what I basically did is that I introduced
UserRef
andRepoRef
.They are enums with two variants: either full form (nickname, owner/name pair), or ids.
I implemented
std::fmt::Display
for them, so that it's easier to operate in API URLs.No breaking changes!!