-
Notifications
You must be signed in to change notification settings - Fork 222
Fix copy-paste errors in generated docs #1313
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
Conversation
jdisanti
left a comment
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.
Thanks for fixing this! It looks like the CI failure is the intermittent failure I am fixing in #1311. I'll retry the failing steps as needed.
|
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
|
It actually looks like the default stack has changed a bit since this was last written. Should it be updated to something more like |
The real AWS middleware in `aws-inlineable` has changed, but the example hasn't changed to follow suit.
71e0eda to
afd0313
Compare
|
Thinking some more about this, is there a reason the AWS middleware definition is in |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
I think there are two reasons the default middleware is currently in
|
...kotlin/software/amazon/smithy/rust/codegen/smithy/generators/client/FluentClientDecorator.kt
Outdated
Show resolved
Hide resolved
Hmm, yeah, I suppose it would need to be its own crate. That said, there are also a fair number of |
|
I'm not opposed to creating a new crate, but I think it probably deserves a RFC to lay out what it should be named and what should go into it. @rcoh probably has some strong opinions in this area. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
|
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
|
it isn't public because it's really a property of an individual service—having a public stack that we claim is "the stack" is a little misleading. There might be a "probably right" stack, but ultimately I expect that as things evolve different services may have different requirements |
|
that said, I'm not opposed to a service builder we expose in |
|
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
I happened across this when trying to implement my own middleware that looked a lot like
AwsMiddleware. It seems some IDE type hints were copied over along with the code itself, so I removes those and fixed as/,/;/, and the example code works again.The reason these weren't caused by CI/tests btw is that this code block is marked as ignored, presumably because it'd require a bunch of dependencies to compile.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.