Skip to content

Resource definitions should be able to proxy DS methods #96

Closed
@jmdobry

Description

@jmdobry

How it works now:

DS.defineResource('user');

DS.find('user', 5);
DS.findAll('user', {...});
// etc

How it will work:

var User = DS.defineResource('user');

User.find(5); 
DS.find('user', 5); // works same as above

User.findAll({...});
DS.findAll('user', {...}); // works same as above

// etc

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions