Quantinuum / Quantinuum/tmp-postgrust

Use a "Builder" pattern to configure the `TmpPostgrustFactory` struct instead of a config.

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.