Yiming Cao

Results 248 comments of Yiming Cao

Hi @sarioglu, thanks for filing the issue. Yes, I see there's currently no easy way to provide a custom message for missing fields. I think a possible workaround is to...

> Hi @ymc9, thank you for your quick response. I tried to use `@@validate` but I hit against following shortcomings: > > 1. If I make a field required and...

@jiashengguo could you give it a try with latest? I believe it's fixed.

Awesome! Thanks for filing this with such detailed description!

> Just an opinion but although I do see the use for the chrome extension, I just think that it just couldn't possibly become relevant enough as to be worth...

The unsupported usage of field comparison should trigger a validation error though: ``` @@deny('delete', space.owner == user) ```

Reopening this issue for thinking about a real solution. The main problem is that there's no way to compare fields from different models in Prisma, and to get it to...

Good idea @juni0r ! It looks better and avoids duplicates. I'll mark it V2 since if it's not urgent?

We also need to think about how to synchronize the API runtime behavior and the specs generated by the openapi plugin.