Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Should resource.create work without _id set? #1

Open
indexzero opened this Issue · 0 comments

1 participant

@indexzero

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
Something went wrong with that request. Please try again.