Skip to content

Use shorthand type specifiers in env yaml files#1305

Merged
jnthntatum merged 3 commits intogoogle:masterfrom
jnthntatum:type_specifiers
Apr 16, 2026
Merged

Use shorthand type specifiers in env yaml files#1305
jnthntatum merged 3 commits intogoogle:masterfrom
jnthntatum:type_specifiers

Conversation

@jnthntatum
Copy link
Copy Markdown
Collaborator

Also add a test that JSON as yaml works.

Marshaling will still use the structured / yaml-map types, but we could default to the string form after the other implementations all support it.

Also add a test that JSON as yaml works.
Comment thread common/env/testdata/context_env.yaml
Comment thread common/env/testdata/json_env.json
Comment thread common/env/env.go Outdated
@jnthntatum jnthntatum merged commit 646cdc1 into google:master Apr 16, 2026
3 checks passed
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.

2 participants