deno-rest-api icon indicating copy to clipboard operation
deno-rest-api copied to clipboard

🦕 A rest API made with Deno

Results 3 deno-rest-api issues
Sort by recently updated
recently updated
newest added

https://github.com/edysegura/deno-rest-api/blob/8533bca730d336be7cd09e080bc4b6358001ae9a/controller.ts#L1-L20

https://github.com/AM-77/deno-rest-api/blob/5fef8eaf245d598c6893521fcf5e6c170bb8c6f1/controller.ts#L38 Given there already is an interface `IBook` defining how a book should look like, is there an easy way to check that `body.value` matches with that interface? I'm asking...

https://github.com/AM-77/deno-rest-api/blob/5fef8eaf245d598c6893521fcf5e6c170bb8c6f1/controller.ts#L38 Otherwise `body.value` will be `Promise { }` at that point. Same error in the `updateBook` function.