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

Feature request #67

Closed
danmo opened this issue Mar 2, 2017 · 1 comment
Closed

Feature request #67

danmo opened this issue Mar 2, 2017 · 1 comment

Comments

@danmo
Copy link

danmo commented Mar 2, 2017

A very useful field would be $override, example:

{
     field: {
        $override: "crieteria",
        $default: "default value"
    }
}

if criteria is passed, then field will get its value, if not it will use the default.

A real case scenario is loading some environment variables and passing them as criterias, if they exist they override the default value.

@augnin
Copy link
Member

augnin commented Nov 19, 2018

@danmo you can now use $env and $param directives.

@augnin augnin closed this as completed Nov 19, 2018
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

2 participants