Skip to content

Support for dynamic data using paths #112

Description

@dumconstantin

Something like this:

{
  foo: {
    value: path.bar
  },
  bar: {
    name: "I'm bar"
  }
}
const a: producer  = ({
  name: observe.foo.value.name
}) => {
  name // I'm bar
}

In terms of regular data usage this should be avoided as it adds unnecessary complexity. But for libraries that need to orchestrate around dynamic paths and data could provide the needed level of flexibility to construct complex processes but without the overhead of copying or composing and decomposing data everytime a different location is used.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions