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
PermitIf is missing the overload to accept list of objects in the guard delegate. Everywhere else the list of objects is the way to use more than 3 parameters.
Would you be open to a pull request to add this or to add a 4th (and or more) type parameters to all the different functions?
Seems like adding a PermitIf overload that takes object[] in the delegate will break a bunch of downstream stuff like ToPackedGuard. Just adding the 4th, 5th etc type parameters might just be the easier solution.
The text was updated successfully, but these errors were encountered:
EraYaN
changed the title
PermitIf does not support guard actions with more than 4 parameters (list of objects)
PermitIf does not support guard actions with more than 3 parameters (list of objects)
Aug 7, 2024
PermitIf is missing the overload to accept list of objects in the guard delegate. Everywhere else the list of objects is the way to use more than 3 parameters.
Would you be open to a pull request to add this or to add a 4th (and or more) type parameters to all the different functions?
Seems like adding a PermitIf overload that takes
object[]
in the delegate will break a bunch of downstream stuff like ToPackedGuard. Just adding the 4th, 5th etc type parameters might just be the easier solution.The text was updated successfully, but these errors were encountered: