permittedFieldsBy always returns empty array
See original GitHub issue "name": "@casl/mongoose"
"version": "2.1.2"
Attempting to use permittedFieldsBy (note no type def for accessibleFieldsBy available), but only get an empty array as result.
When using the underlying permittedFieldsOf method, I’m able to get the expected results.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Node always returns empty array - Stack Overflow
imageFiles always returns to angular as an empty array . If I console.log(imageFiles) before the response it is empty as well.
Read more >#CALC! error - Empty array - Microsoft Support
Empty array errors occur when an array formula returns an empty set. For example, =FILTER(C3:D5,D3:D5<100) will return an error because there are no...
Read more >$search autocomplete returns an empty array - MongoDB
I'm a mongodb (and backend) beginner and try to create an autocomplete search. Unfortunately, I always get back an empty array in my...
Read more >empty - Manual - PHP
Returns true if var does not exist or has a value that is empty or equal to ... I normally count() an array,...
Read more >getMicList always returns empty array - Zoom Developer Forum
Description Stream.getMicList() is returning an empty array, even when navigator.mediaDevices.enumerateDevice() returns several speakers and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Published
@casl/mongoose@2.2.0
with changes from #117 . Could you please check and report back whether it works as expected now?Fixed in
@casl/mongoose@2.2.1