Fullstack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.
According to the RestAPI documentation passing in a list of for example id's separated by comma's should return a list not just one result. Currently its only returning the record based on the id of the first number passed in.
Description and expected behavior
According to the RestAPI documentation passing in a list of for example id's separated by comma's should return a list not just one result. Currently its only returning the record based on the id of the first number passed in.
I am modeling a new app based off your react-admin blog article https://zenstack.dev/blog/react-admin
Using the code in the linked Github repository I performed the following to recreate the issue:
calling http://localhost:3000/api/model/user?filter[id]=2,1 only results in one record being returned (id = 2)
Environment (please complete the following information):
Additional context Add any other context about the problem here.