-
I have another quick question around type naming best practices.
For context, the reason why I want to use pascal and camel casing is because the types declared are already models in our graphql schema and for this POC I want to keep developer experience to avoid engineers having to fit a new way of naming types they are already familiar with. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Raid55 From the DSL perspective, it does not matter. We have not established best practices around this, and it depends on how you prefer it. One advantage of using snake_case/TitleCase/camelCase over kebab-case is that people can select that quickly whether through mouse or keyboard when needing to (e.g. to copy paste or reference it) |
Beta Was this translation helpful? Give feedback.
Hi @Raid55
From the DSL perspective, it does not matter.
We have not established best practices around this, and it depends on how you prefer it.
One advantage of using snake_case/TitleCase/camelCase over kebab-case is that people can select that quickly whether through mouse or keyboard when needing to (e.g. to copy paste or reference it)