Skip to content

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

@rclark

Description

@rclark

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions