Support serde rename_all
Open
Nobody has claimed this yet.
enhancement
Rust
- Dominant language
- Rust
- Stars
- 301
- Forks
- 85
- Avg merge
- 1h 4m
- Merged PRs (30d)
- 4
Description
#[serde(rename_all = "snake_case")]
pub enum CanisterStatusType {
Running,
Stopping,
Stopped,
}
Contributor guide
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 with the serde rename_all example in the issue and review the linked discussion in PR 4812. Determine the intended behavior for enum variant names, then verify that the Candid library supports the requested snake_case mapping and add coverage for the shown CanisterStatusType example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100