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

Strict variables improvements #21

Merged
merged 4 commits into from
May 25, 2024
Merged

Strict variables improvements #21

merged 4 commits into from
May 25, 2024

Conversation

cappuc
Copy link
Contributor

@cappuc cappuc commented May 25, 2024

  • Delay thrown of UndefinedVariableException to render phase instead of lookup phase.
  • Allow to use undefined variable as condition (in if, unless, etc.), undefined variable are evaluated as null
  • allow to set a fallback value with default filter (ex: assing var = var | default: "default value")

@cappuc cappuc merged commit b34aa70 into main May 25, 2024
16 checks passed
@cappuc cappuc deleted the strict-variables-improvements branch June 10, 2024 12:30
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

Successfully merging this pull request may close these issues.

1 participant