Skip to content

add 'name includes .' ember_assert to get/set #685

@grosser

Description

@grosser

Ive been bitten by this so many times, that I really would like to be notified if I get or set something that has a '.', its such a subtle error to do and would make it so much easier to spot.

get('record.foo') -> Boom

Other solution:
always getPath when doing get + introduce getSimple for the edge-cases where you might not want it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions