Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Fix various things #9

Merged
merged 4 commits into from
Jun 26, 2018
Merged

Fix various things #9

merged 4 commits into from
Jun 26, 2018

Conversation

sjung-stripe
Copy link

If a top-level list of strings contains an empty string, the provider
helper library seems to report a nil instead of an empty string. The
issue does not reproduce for sets of strings, or for lists of strings
that are inside another object.

The empty string doesn't actually make sense, but we don't want to blow
up with a panic. A provider panic causes terraform to report an
extremely scary error message. We'd rather let the JSON go to SFx where
it'll be rejected with a 4xx, whose error output is much more
approachable.
@cory-stripe
Copy link

👍

@sjung-stripe sjung-stripe merged commit c70a62b into stripe/master Jun 26, 2018
@sjung-stripe sjung-stripe deleted the sjung/more-features branch June 26, 2018 17:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants