Thanks for the great job, ng-admin is very slick.
In any case, I've set-up ng-admin 0.7.0 with postgrest 0.2.11.1 according to this demo repo. Creating new entities works fine, but editing existing ones fails with:
Oops, an error occured : (code: 405) You must speficy all and only primary keys as params
Column | Type | Modifiers
--------+---------+-------------------------------------------------------
id | integer | not null default nextval('customer_id_seq'::regclass)
name | text |
var customer = nga.entity('customer');
app.addEntity(customer);
customer.listView()
.perPage(10)
.fields([
nga.field('id'),
nga.field('name')
])
.listActions(['edit', 'show']);
customer.showView()
.fields([
nga.field('id'),
nga.field('name')
]);
customer.creationView()
.fields([
nga.field('name')
]);
customer.editionView()
.fields(customer.creationView().fields());