Closed Nishchit14 closed 1 month ago
Cannot reproduce, If you look into code this error is thrown only if you try to change the type of previously used object - https://github.com/stalniy/casl/blob/master/packages/casl-ability/src/utils.ts#L25
close as I stale. Feel free to comment and provide additional details
Describe the bug When I use
subject
helper multiple time in the same function to check multiple permission then it's showing errorError
CASL Version
@casl/ability
- v6.7.1Environment: Nodejs version v21