cloudfriend icon indicating copy to clipboard operation
cloudfriend copied to clipboard

Can't pass an object to cf.split

Open rclark opened this issue 8 years ago • 1 comments

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

rclark avatar Feb 27 '17 00:02 rclark

eeps ! over on https://github.com/mapbox/cloudfriend/pull/18

xrwang avatar Feb 27 '17 19:02 xrwang