Skip to content

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

@dumconstantin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions