clockworklabs / clockworklabs/SpacetimeDB
Option to disable names case transforming a.k.a. keep snake_case in SDK
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
Currently, generating client SDK for TypeScript mangles all user-specified names (tables, reducers, fields) by transforming to JS-native camelCase.
It seems better to at least have an option to keep the names as is, especially for cases like using some other client-side codegen as well.
Related: #2165 for C#.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing TypeScript client SDK generation and the name transformation applied to tables, reducers, and fields. Define how an option should preserve user-specified names while retaining the current default behavior, then add coverage showing both modes produce the expected names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100