Open netsensei opened 7 years ago
Apparently this has to do when $id isn't passed to the method calls.
Commit does not fix issue:
Implementing "update" in the add method was a deliberate design choice.
So, this could should be reverted since it's a major architectural change which really breaks the entire flow.
What we really want is some kind of failure if the $id is present or not in the API update method. Either a Catmandu Exception or False.
The API.pm module throws up this error. Needs to be fixed / made more human understandable what went wrong.