Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing of MarketPlaceClient instance during app instantiation. #35

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

csadorf
Copy link
Collaborator

@csadorf csadorf commented Aug 23, 2022

Instead of passing through client constructor arguments, we enable users
to instantiate the client and then pass that directly. This is an
improvement to the composition model as it does not require the
replication of client constructor arguments within the app constructor
function and also enables users to re-use an existing client instance.

@csadorf csadorf force-pushed the make-client-first-class-app-constructor-arg branch from 30322ba to fcae1c3 Compare August 23, 2022 13:37
Instead of passing through client constructor arguments, we enable users
to instantiate the client and then pass that directly. This is an
improvement to the composition model as it does not require the
replication of client constructor arguments within the app constructor
function and also enables users to re-use an existing client instance.
@csadorf csadorf force-pushed the make-client-first-class-app-constructor-arg branch from 9f3a52d to 9f081d4 Compare August 23, 2022 13:45
@csadorf csadorf marked this pull request as ready for review August 23, 2022 13:49
@csadorf csadorf merged commit 2fa6aff into main Aug 23, 2022
@csadorf csadorf deleted the make-client-first-class-app-constructor-arg branch August 23, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants