Skip to content

Substitute does not working #20

@deemytch

Description

@deemytch

erlang/OTP24
elixir 1.12
archlinux
fast_yaml 1.0.31

substitutes like that won't decoded.

defaults:
  coreAPI: &coreAPI
    coreAPI: [publish, disable]

ctrl:
  document:
    <<: *coreAPI
    other: [values]

Instead of
{ :ok, %{ ctrl: %{ document: %{ coreAPI: ["publish","disable"], other: ["values"] }...

I get
{ :ok, [%{ ctrl: %{ document: %{ "<<": "coreAPI", other: ["values"] }...

At the same time ruby version YAML decoding that fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions