Skip to content

ref: Add Client builder for generic abstraction#56

Merged
Callisto13 merged 1 commit intomainfrom
client-builder
Jun 28, 2022
Merged

ref: Add Client builder for generic abstraction#56
Callisto13 merged 1 commit intomainfrom
client-builder

Conversation

@Callisto13
Copy link
Copy Markdown
Member

This adds a ClientBuilderFunc to the command Config option, and moves
the create logic back into the CreateFn and out of the client.

This gives a nicer abstraction layer for testing, as well as a smaller
shim over the real flintlock client.

There is more scope for refactoring the busier commands (eg delete),
but this make things easier for now.

This adds a `ClientBuilderFunc` to the command Config option, and moves
the create logic back into the `CreateFn` and out of the `client`.

This gives a nicer abstraction layer for testing, as well as a smaller
shim over the real flintlock client.

There is more scope for refactoring the busier commands (eg `delete`),
but this make things easier for now.
@Callisto13 Callisto13 marked this pull request as ready for review June 28, 2022 11:57
@Callisto13 Callisto13 merged commit 28889fb into main Jun 28, 2022
@Callisto13 Callisto13 deleted the client-builder branch June 28, 2022 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant