chax-at / prisma-filter

MIT License
36 stars 8 forks source link

Filter Parser interferes with other queries at the same route #9

Open nikola418 opened 11 months ago

nikola418 commented 11 months ago

image results in: image

when having multiple regular queries with same validation options, request passes just fine: image

nikola418 commented 11 months ago

One workaround is to use virtual fields to bypass this, though this feels a bit redundant when you just want to pass a simple marker like: presignThumbs=true. Since then you have to retreive it off of filterDto as opposed to having it readily available. Also this makes you unable to use something like ParseBoolPipe.