Optional Condition Naming #331
              
  
  Closed
              
          
                  
                    
                      chris-pardy
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
@CacheControl For our usage of JSON rules engine it would be super helpful if we could optionally given names so conditions.
For instance within our domain we could do something like this.
{ "name":"FhaMinDownPayment" "all": [ { "fact": "FhaEligable", "operator":"equal", "value": true }, { "fact": "downPaymentPercent", "operator": "greaterThanInclusive", "value": 0.03 } ] }The name would get reflected on the rule results. This would help with readability but it would also allow us to more easily attribute the cause of rule failures when dealing with varying levels of rule complexity.
Beta Was this translation helpful? Give feedback.
All reactions