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

JsonNamingPolicy Question #80

Closed
ronnieoverby opened this issue Feb 18, 2024 · 3 comments · Fixed by #85
Closed

JsonNamingPolicy Question #80

ronnieoverby opened this issue Feb 18, 2024 · 3 comments · Fixed by #85

Comments

@ronnieoverby
Copy link

I'm curious what the reason is for choosing lowercase snake JsonNamingPolicy?

@Odonno
Copy link
Contributor

Odonno commented Feb 18, 2024

Hello Ronnie,

The snake case policy follows the recommended practices for SurrealDB. Tables and fields uses snake case naming policy.

@ronnieoverby
Copy link
Author

ronnieoverby commented Feb 18, 2024 via email

@ronnieoverby
Copy link
Author

@Odonno Where is that recommendation made and why? I don't see that practice in all of their examples. See this one for instance having fields like lastName:

https://docs.surrealdb.com/docs/1.0.x/surrealql/statements/define/table/#schemaless-tables

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.

2 participants