Skip to content

overwrite id must be string #31

@yaxinr

Description

@yaxinr

wrong

copy( false, overwrite: {
      id: 2
}
)

[ember-data-copyable] Error: Assertion Failed: You cannot index an internalModel by an empty id'
at Object.assert (index.js:163)
at InternalModelMap.set (-private.js:6662)

this works

copy( false, overwrite: {
      id: '2'
}
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions