planetscale / planetscale/vtprotobuf
New extension: scrub
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
Proposal: new extension called scrub which adds a function Scrub() to messages.
Similar to Reset(), except it recursively overwrites all buffers & fields in the message with zeros.
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 by reviewing the existing Reset() behavior and the extension-generation code in vtprotobuf. Define how Scrub() should recursively overwrite message buffers and fields, then add the corresponding implementation and tests; done means generated messages expose Scrub() with the proposed zeroing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100