Skip to content

add string to represent path #4

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.

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