Skip to content

add string to represent path #4

@ORESoftware

Description

@ORESoftware
{
 foo: {
   bar: {
      baz: {
          [generic.PathString]: true
      }
    }
  }
}

this will add a string, so that the output looks like:

{
 foo: {
   bar: {
    baz: {
       "@path": "foo.bar.baz"
     }
    }
  }
}

then users can pass this path in their HTTP requests and can type-check and at runtime as well.

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