Skip to content

Conversation

@iterion
Copy link
Contributor

@iterion iterion commented Mar 28, 2023

The url wasn't getting created correctly, so we just pass it through the method on the trait. I also refactored the method a bit to make clippy happy.

@augustuswm I can also change the default URL to https, wasn't sure if you wanted to fix that elsewhere or just manually here.

@augustuswm
Copy link
Contributor

Thanks for this, looks good to me. I'll update the default url via the spec and regenerate from there.

@augustuswm augustuswm merged commit 625d344 into oxidecomputer:main Mar 28, 2023
augustuswm pushed a commit that referenced this pull request Mar 28, 2023
* Use url() to get correct url

* Clean up method
@iterion iterion deleted the fix-sendgrid branch March 28, 2023 20:40
augustuswm added a commit that referenced this pull request Jun 12, 2023
* Initial sketch

* Remove trait. Update test

* Do not generate empty serde attributes

* Fix spec and root server

* Fix sendgrid send_plain_text (#65)

* Use url() to get correct url

* Clean up method

* Add test

* Bump version

* Fix empty serde attributes

* Fix chrono call

* Fix deprecation

* Chrono fix

* Align spec urls with previously used urls

* Update drive traits to use url method

* Fmt

* Fix intro docs for client with multiple root servers

* Fix created param format for GitHub workflow listing

* Rebuild

* Bump h2

* Bump openssl

* Fix h2 ck

* Add openssl-macros

* Comment and derive cleanup

* Derive default on fully qualified path

* Bump base64

* Bump reqwest-middleware

* Remove default opentel feature

* Update trait responses

* Fmt

* Update versions

* Add changelog

* Add headers to errors

* Rust indicators

* Add change not about default features

* Add redirect policy to remaining clients

* Re-export reqwest types

* Clarify response values

* Clarify new env fns

* Clarify docs for constructors and panics

* Remove tokio full feature

* Fix Google clients with command urls

---------

Co-authored-by: Adam Sunderland <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants