Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reference in conditions #14

Closed
mavarazy opened this issue Sep 9, 2017 · 0 comments
Closed

Support reference in conditions #14

mavarazy opened this issue Sep 9, 2017 · 0 comments
Assignees
Milestone

Comments

@mavarazy
Copy link
Contributor

mavarazy commented Sep 9, 2017

Following #12 comment, we want to be able to do comparison between fields in the object like this

conditions: {
    a: { less: "$b" }
}

And also support arbitrary predicates:

conditions: {
     cost: {
        decreasedByMoreThanPercent: {
             average: "averages_monthly.cost",
             target: 20
         }
     }
 }
@mavarazy mavarazy added this to the Release 0.2.0 milestone Sep 9, 2017
@mavarazy mavarazy self-assigned this Sep 9, 2017
mavarazy added a commit that referenced this issue Sep 11, 2017
mavarazy added a commit that referenced this issue Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant