Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deal with custom tag unmarshalers that output a map[string] #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stilvoid
Copy link

@stilvoid stilvoid commented Mar 8, 2019

If some code has registered a custom YAML tag unmarshaler that outputs a data structure not dealt with in convertToJSONableObject then there will be a failure.

This PR allows for map[string]interface{} which can be output by the tag unmarshalers used in here in AWS's goformation.

A better PR would refactor all of convertToJSONableObject to use reflect but that can wait for another day :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant