Skip to content

PermitIf does not support guard actions with more than 3 parameters (list of objects) #598

@EraYaN

Description

@EraYaN

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions