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

Build operators are not evaluated on refDefinition in buildRefs #1488

Closed
JohannMoller opened this issue Feb 14, 2023 · 0 comments
Closed

Build operators are not evaluated on refDefinition in buildRefs #1488

JohannMoller opened this issue Feb 14, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@JohannMoller
Copy link
Contributor

Describe the bug

Build operators are not evaluated on refDefinition in buildRefs. This means build operators can't be used to get a ref key from your env, for example.

To Reproduce

The below config returns field: null where one would expect field: Value

field:
  _ref:
    path: target.yaml
    key:
      _build.env: FIELDNAME_FROM_ENV

.env

FIELDNAME_FROM_ENV=fieldName

target.yaml

fieldName: Value

Lowdefy Version

4.0.0-rc.0

@JohannMoller JohannMoller added the Bug Something isn't working label Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants