Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Generate event enums #8

Closed
LegNeato opened this issue Jun 6, 2018 · 1 comment
Closed

Generate event enums #8

LegNeato opened this issue Jun 6, 2018 · 1 comment
Labels
enhancement New feature or request events

Comments

@LegNeato
Copy link
Collaborator

LegNeato commented Jun 6, 2018

The Go event code often has "enums" like:

type DynamoDBStreamViewType string

const (
	DynamoDBStreamViewTypeNewImage        DynamoDBStreamViewType = "NEW_IMAGE"          // the entire item, as it appeared after it was modified.
	DynamoDBStreamViewTypeOldImage        DynamoDBStreamViewType = "OLD_IMAGE"          // the entire item, as it appeared before it was modified.
	DynamoDBStreamViewTypeNewAndOldImages DynamoDBStreamViewType = "NEW_AND_OLD_IMAGES" // both the new and the old item images of the item.
	DynamoDBStreamViewTypeKeysOnly        DynamoDBStreamViewType = "KEYS_ONLY"          // only the key attributes of the modified item.
)

We should convert them to Rust enums.

@LegNeato LegNeato added enhancement New feature or request events labels Jun 6, 2018
LegNeato added a commit that referenced this issue Sep 14, 2018
This is a step on the way to #8
and was masking other issues.
LegNeato added a commit to calavera/aws-lambda-events that referenced this issue Dec 11, 2018
This is a step on the way to srijs/rust-aws-lambda#8
and was masking other issues.
@LegNeato
Copy link
Collaborator Author

The events crate has now moved to https://github.com/LegNeato/aws-lambda-events. Because of GitHub limitations (https://help.github.com/articles/transferring-an-issue-to-another-repository/) this issue is being closed rather than transferred.

If it is still relevant, please open an issue in the new repo.

Sorry for the churn!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request events
Projects
None yet
Development

No branches or pull requests

1 participant