Skip to content

Commit

Permalink
Allow underscores in nested object fields (#31896)
Browse files Browse the repository at this point in the history
We've been meaning to do this for a while but haven't gotten around it to it.

Seen in Discord at https://discord.com/channels/1019350475847499849/1312480232548339752/1312480232548339752

If this looks good, I'll work with @atrakh on making sure the dashboard can accommodate these fields.

GitOrigin-RevId: 2183da4c0f721a9be2f8a841dd843932d37c517f
  • Loading branch information
sujayakar authored and Convex, Inc. committed Dec 17, 2024
1 parent 80c16aa commit 706a792
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/production/state/limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Applied per document and to any nested `Object` unless stated otherwise.

- Field names must only contain non-control alphanumeric ASCII characters and
underscores and must start with an alphabetic character or underscore.
- Documents cannot contain top-level fields that start with an underscore, other
than the system-provided `_id` and `_creationTime` fields.
- Strings must be valid Unicode sequences with no unpaired surrogates.

## Functions
Expand Down

0 comments on commit 706a792

Please sign in to comment.