Replies: 2 comments 4 replies
-
This is a bit reminiscent of the idea proposed in #294, of effectively extending Object, Array, and other values with YAML metadata. That's pretty tricky. Working with custom tags like import { parseDocument } from 'yaml'
const doc = parseDocument(`
services:
app:
ports: !override
- "8443:443"
`)
const seq = doc.getIn(['services', 'app', 'ports'])
seq.tag // '!override' |
Beta Was this translation helpful? Give feedback.
2 replies
-
With current customTag api it's not possible? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Docker compose files supports tags that does not change the yaml property type.
Example:
Would be nice to parse/stringify it using something like:
Is this possible?
Reference:
Beta Was this translation helpful? Give feedback.
All reactions