Currently the PolicyContext is a free form object that can accept every kind of object, but in fact, the PolicyContext structure is strictly dependent from the policy scope, so it could beneficial to have it strictly typed.
Which Areas Would Be Affected?
policy-engine
Why Is the Feature Desired?
Are there any requirements?
Solution Proposal
If possible, provide a (brief!) solution proposal.
Feature Request
Currently the
PolicyContext
is a free form object that can accept every kind of object, but in fact, thePolicyContext
structure is strictly dependent from the policy scope, so it could beneficial to have it strictly typed.Which Areas Would Be Affected?
policy-engine
Why Is the Feature Desired?
Are there any requirements?
Solution Proposal
If possible, provide a (brief!) solution proposal.