You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In core_enforcer.dart, the type of the adapter is checked using adapter.runtimeType == FilteredAdapter, which would expect an exact match of FilteredAdapter, however FilteredAdapter is an abstract class so this will never evaluate to true.
This should be changed to: adapter is FilteredAdapter
In
core_enforcer.dart
, the type of the adapter is checked usingadapter.runtimeType == FilteredAdapter
, which would expect an exact match ofFilteredAdapter
, howeverFilteredAdapter
is an abstract class so this will never evaluate to true.This should be changed to:
adapter is FilteredAdapter
Needs to be changed in two places:
dart-casbin/lib/src/core_enforcer.dart
Line 179 in 9c72f3f
dart-casbin/lib/src/core_enforcer.dart
Line 198 in 9c72f3f
The text was updated successfully, but these errors were encountered: