Demian Shtepa
Results
3
comments of
Demian Shtepa
@eigan I agree, that it should be 404, but it produces runtime type error on the database level with 500 error code, you can't handle this exception. In the example...
@dpslwk oh, yeah, I see. So maybe, it should be rewritten to checking if PK is INT and check id value with function `is_numeric` If it returns false we are...
@dpslwk just reproduced that on eloquent and received the same result - 500. Eloquent doesn't handle this stuff