Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Substitute does not working #20

Open
deemytch opened this issue May 27, 2021 · 1 comment
Open

Substitute does not working #20

deemytch opened this issue May 27, 2021 · 1 comment

Comments

@deemytch
Copy link

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.

@prefiks
Copy link
Member

prefiks commented May 27, 2021

Yes, indeed we don't have code that resolves aliases, but i think this is something that can be added, will see how much work will it require.

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

No branches or pull requests

2 participants