-
Notifications
You must be signed in to change notification settings - Fork 1
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
Requestor API routes #94
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.
Some minor things, but overall looks good 👍
@@ -113,6 +140,6 @@ impl ApiClient { | |||
) -> Result<Vec<models::Span>, ApiClientError<SpanGetError>> { | |||
let path = format!("api/traces/{}/spans", trace_id.as_ref()); | |||
|
|||
self.do_req(Method::GET, path).await | |||
self.do_req(Method::GET, path, None::<()>).await |
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.
Not a big fan of having to define these ::<()>
things, but this is fine for now. We can solve this another time.
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.
Wasn't a fan either, but couldn't figure out a way to make it compile without these type annotations :(
Same changes as #86, but somehow the git history got borked there so I just copied over the changes to a new branch to get it out of the way