Skip to content

fix: normalize config layout engine casing#2773

Open
cyphercodes wants to merge 1 commit into
terrastruct:masterfrom
cyphercodes:cyphercodes/config-layout-engine-case
Open

fix: normalize config layout engine casing#2773
cyphercodes wants to merge 1 commit into
terrastruct:masterfrom
cyphercodes:cyphercodes/config-layout-engine-case

Conversation

@cyphercodes

@cyphercodes cyphercodes commented Jul 4, 2026

Copy link
Copy Markdown

Fixes #2414.

Summary

  • normalize vars.d2-config.layout-engine values to lowercase when compiling config
  • add coverage for uppercase ELK in config vars

Tests

  • go test ./d2compiler -run 'TestCompile2/vars/config/layout-engine-case-insensitive'
  • go test ./d2compiler -run 'TestCompile2/vars/config'
  • go test ./d2compiler ./d2lib

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.

ignore casing of config values

1 participant