Skip to content

eagerInject/eagerEject should default to definition's options #185

Closed
@elado

Description

@elado

I want to be able to define eagerInject/eagerEject on the resource deinition:

Article = DS.defineResource({
    name: 'article',
    eagerInject: true,
    eagerEject: true
})

Currently the create/destroy methods take the option only from the caller Article.destroy(id, { eagerEject: true })

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions