Skip to content

improved safety of serde_yaml::Value -> value conversion - #328

Merged
joshfried-aws merged 3 commits into
aws-cloudformation:mainfrom
joshfried-aws:main
Feb 9, 2023
Merged

joshfried-aws merged 3 commits into
aws-cloudformation:mainfrom
joshfried-aws:main

Conversation

@joshfried-aws

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
This PR addresses a branch of code that could cause possible panics. This PR addresses that by propagating the errors to the calling function, instead of calling unwrap, and possibly panicking .


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@joshfried-aws joshfried-aws changed the title improved safety of serde_yaml -> value conversion improved safety of serde_yaml::Value -> value conversion Feb 8, 2023
@joshfried-aws
joshfried-aws merged commit 71df534 into aws-cloudformation:main Feb 9, 2023
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.

3 participants