Rafał Dzięgielewski

Results 242 comments of Rafał Dzięgielewski

What do you mean by empty records? @robinl3680

If you're using REST API, are you sure your REST API processes filters correctly?

If you're saying you're not accessing the database directly and using REST API, then your REST API should handle filters and pagination as data access layer.

@VladyslavParashchenko this would probably require some runtime checks for database driver to make sure it supports `mode: 'insensitive'`. Ideally Prisma would just ignore this param if it's not supported instead...

Did you try importing without `* as AdminJSPrisma`? This could be wrapping the entire module into another namespace hence TS complaints. Try to do the imports similar to example app:...

Looks like you might need: ``` "type": "module" ``` in your `package.json` since AdminJS is ESM-only now. Some `tsconfig.json` modifications might be needed as well but from my experience setting...

The documentation for `@adminjs/relations` clearly states that junction tables must be registered as resources in AdminJS since every feature has to be generic enough to work similarly with all adapters....

I think the safest approach right now would be to define an explicit model for the junction table. I assumed Prisma creates virtual models anyway but it might be they're...