Should resource.create work without _id set? #1

Open
indexzero opened this Issue Jul 10, 2010 · 0 comments

Comments

Projects
None yet
1 participant
@indexzero
Contributor

indexzero commented Jul 10, 2010

var r = resourcer.defineResource(function () {
this.use('database');
});

// Works
r.create({ _id: '99', age: 30, hair: 'red'}, this.callback);

// Doesn't Work
r.create({ age: 30, hair: 'red'}, this.callback);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment