Skip to content

Use prefixed internal properties to allow more freedom for schema path names #4688

@adamreisnz

Description

@adamreisnz

This is likely going to be something for a next major release, but I'd like to see the limitations that are currently in place for restricted schema path names lifted, by using internal properties which are prefixed with _ or $ or anything else, so that users are free to use any non-prefixed path name they like.

I've run into this limitation twice now, where I wanted to have isNew and collection as my document properties. (It's surprisingly hard to find a synonym for isNew that is as concise and to the point.)

So I'm throwing it up here for discussion, what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    backwards-breakingdiscussionIf you have any thoughts or comments on this issue, please share them!

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions