You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do note that this is about path naming and not field naming, Geostandaarden doesn't state anything about field-naming.
First, in order to avoid compatibility issues with web servers and frameworks that do not handle case sensitivity of URI's well, the use of spinal-case path segments is preferred over camelCase. Also, it is a more common implementation choice for path segments than snake_case.
/naming/path-case: Use spinal-case for path segments
In case path segments include compound words, the individual words are written in lower case and may be separated with hyphens.
So Geostandaarden mentions to avoid camelCase for paths. I'd like to follow this aspect of the recommendation (also because it's ugly imho)
Regarding spinal-case versus snake_case, they mention that spinal-case is chosen because it is more common. But again, this is for paths/resources and not fields.
Based on n=2 the Stripe and Twitter APIs I checked and both of these use snake_case for fields. So my opinion is to leave the naming of Open Producten fields as is, but this opinion isn't strongly held
Product versie / Product version
latest / 0.0.4
Omschrijf het probleem / Describe the bug
I noticed this just now, our other registration components use camelCase afaik, was it intentional to use snake_case for Open Producten?

Stappen om te reproduceren / Steps to reproduce
No response
Verwacht gedrag / Expected behavior
No response
The text was updated successfully, but these errors were encountered: