Skip to content
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

Add json Unmarshal for AWSEpochTime #1298

Merged
merged 2 commits into from
Jun 18, 2021

Conversation

iliacimpoes
Copy link
Contributor

Added UnmarshalJSON for AWSEpochTime.
I wanted to use sign.Policy for testing purposes, to validate generated policy. But AWSEpochTime is not unmarshaled correctly.

Copy link
Contributor

@jasdel jasdel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for creating this PR @iliacimpoes. The change looks good. We'll get this merged in and included in our next release.

@jasdel jasdel merged commit 77ed784 into aws:main Jun 18, 2021
@iliacimpoes iliacimpoes deleted the aws_epoch_time_unmarshal branch June 21, 2021 13:11
jrichard8 pushed a commit to jrichard8/aws-sdk-go-v2 that referenced this pull request Feb 14, 2022
Adds UnmarshalJSON for AWSEpochTime to correctly unmarshal AWSEpochTime
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.

None yet

2 participants