-
Notifications
You must be signed in to change notification settings - Fork 654
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
true up migration guide: iface, endpoints, auth, request customization, s3crypto #2431
Conversation
|
||
#### migrating `Params` | ||
|
||
```go |
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.
has all the following new code examples been actually executed to some extent? i think it would be good to actually see this code successfully execute
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.
I dropped them into my IDE and found some minor issues which I've corrected. I didn't run them fully, though, they're not meant to be drop-in snippets, more examples of what v1 would look like vs v2.
| v1 handler name | v2 middleware phase | | ||
| --------------- | ------------------- | | ||
| Validate | Initialize | | ||
| Build | Serialize | |
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.
does V2's Build
not have an equivalent in V1?
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.
It doesn't, Build
and Serialize
as we know them in v2 were one thing Build
in v1
*iface
types e.g.s3iface
request.Request