Skip to content

import { resolve } from "@c11/engine.runtime" #106

Description

@dumconstantin

import { resolve } from "@c11/engine.runtime" in order to recursively resolve any paths found on a value or a path:

foo: {
  a: 123,
  b: path.bar
},
bar: path.baz,
baz: 321
foo = observe.foo
---
resolve(foo) // { a: 123, b: 321 }
resolve(path.bar) // 321

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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