Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Document field names so they conform to the spec #408

Closed
tatu-at-datastax opened this issue May 1, 2023 · 0 comments · Fixed by #429
Closed

Validate Document field names so they conform to the spec #408

tatu-at-datastax opened this issue May 1, 2023 · 0 comments · Fixed by #429
Assignees

Comments

@tatu-at-datastax
Copy link
Contributor

tatu-at-datastax commented May 1, 2023

Our current spec:

https://github.com/stargate/jsonapi/blob/main/docs/jsonapi-spec.md#json-document-field-names

basically allows regexp of:

<user-field-name> ::= ["a-zA-Z0-9_"]+

for fields (plus _id having some special constraints).

Shredder does not yet validate these rules but it should; let's add this validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant