Skip to content
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

Can't pass an object to cf.split #17

Open
rclark opened this issue Feb 27, 2017 · 1 comment
Open

Can't pass an object to cf.split #17

rclark opened this issue Feb 27, 2017 · 1 comment

Comments

@rclark
Copy link
Contributor

rclark commented Feb 27, 2017

Because of the toString() here, if you pass a object (e.g. a "Ref") to cf.split(), it gets turned into [object Object].

> cf.split(',', cf.ref('SomeParameter'))
{ 'Fn::Split': [ ',', '[object Object]' ] }

cc @xrwang

@xrwang
Copy link
Contributor

xrwang commented Feb 27, 2017

eeps ! over on #18

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

No branches or pull requests

2 participants