Skip to content

feat: support set default value in resolve_var#12963

Merged
shreemaan-abhishek merged 1 commit into
apache:masterfrom
shreemaan-abhishek:chore/def-val-variables
Feb 4, 2026
Merged

feat: support set default value in resolve_var#12963
shreemaan-abhishek merged 1 commit into
apache:masterfrom
shreemaan-abhishek:chore/def-val-variables

Conversation

@shreemaan-abhishek

Copy link
Copy Markdown
Contributor

Description

Enhance the resolve_var function to use a default value when the variable does not exist.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Feb 3, 2026
@shreemaan-abhishek
shreemaan-abhishek merged commit 6f73f7d into apache:master Feb 4, 2026
20 of 21 checks passed
wistefan pushed a commit to wistefan/apisix that referenced this pull request Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants