herbsjs/herbs-cli

Update Entity UC - Return Err.notFound() when a ID is not found

Closed this issue ยท 3 comments

When calling a Update use case (ex: UpdateUser) with a ID that doesn't exist the UC should return Err.notFound(), like the Find use case.

Currently it return an error:

{
    "error": "TypeError",
    "message": "Cannot read property 'id' of undefined"
}

I'll work on this issue ๐Ÿ˜ƒ

But I cant seem to be able to move the issue on the board to the In Progress column

๐ŸŽ‰ This issue has been resolved in version 1.7.2 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€