the-bed-stack
the-bed-stack copied to clipboard
Improve schema/types names
Clear and concise description of the problem
We should fix the schemas and type names because we're not happy how they'e called across the codebase.
Suggested solution
Making them the same, in PascalCase mostly, and without using the suffix Schema.
Basically follow colinhacks: https://github.com/colinhacks/zod/pull/3285#issuecomment-1998639354
Alternative
- Do nothing and leave the names as they are, but we won't be too happy about it.
- Choose a different naming scheme.
Additional context
https://github.com/agnyz/bedstack/pull/129#issuecomment-2730297303 https://github.com/agnyz/bedstack/pull/129#issuecomment-2730370084
Validations
- [x] Read the Contributing Guide.
- [x] Read the
README.md. - [x] Check that there isn't already an issue that requests the same feature.
@Hajbo FYI - added this issue so it's easy to track. Naturally this is outside of the roadmap
This is one of the biggest reasons for the Layered Architecture and is solved by it