Skip to content

Tag apigw struct fields with proper serde(skip_serializing_if) #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

Merged
merged 1 commit into from
May 15, 2023

Conversation

fluxth
Copy link
Contributor

@fluxth fluxth commented May 15, 2023

Description of changes:

Currently, only some of structs in apigw module has serde(skip_serializing_if) tagged, therefore, only some of them support serialization properly.

This PR adds the aforementioned tag to the rest of the structs in apigw module. This will be useful when a user of the library wants to serialize these structs.

Fields to add serde(skip_serializing_if) referenced from aws-lambda-go library:
https://github.com/aws/aws-lambda-go/blob/main/events/apigw.go

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

Copy link
Contributor

@calavera calavera 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 making these updates!

@calavera calavera merged commit 7c93265 into awslabs:main May 15, 2023
@fluxth fluxth deleted the apigw-skip-serialize branch May 16, 2023 01:23
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