Quantinuum / Quantinuum/tmp-postgrust
Use a "Builder" pattern to configure the `TmpPostgrustFactory` struct instead of a config.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Example about the builder pattern: https://rust-unofficial.github.io/patterns/patterns/creational/builder.html
We now have a few config options so it could be more ergonomic to use the "Builder" pattern instead.
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
Locate the TmpPostgrustFactory struct and its current config options, then read the linked Rust builder-pattern example. Define the builder’s configuration flow and confirm that the factory can be created through it instead of the existing config; the change is done when the new API covers the current options without losing their behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- developer-experience
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100