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
My table schema:
Column | Type | Modifiers
--------+---------+-------------------------------------------------------
id | integer | not null default nextval('customer_id_seq'::regclass)
name | text |
Changing the code from using the PUT verb to PATCH will fix the problem. In fact puts are no longer supported in v3 because their benefit vs code complexity isn't high enough.
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:
My table schema:
My ng-admin config snippet: