Skip to content

feat: Make NewSourceClient (and dest) as one interface#208

Merged
yevgenypats merged 7 commits intomainfrom
feat/make_clients_one_interface
Sep 30, 2022
Merged

feat: Make NewSourceClient (and dest) as one interface#208
yevgenypats merged 7 commits intomainfrom
feat/make_clients_one_interface

Conversation

@yevgenypats
Copy link
Copy Markdown
Contributor

Summary

I think I finally nailed the Client interface. This will remove completely the need for "PluginManager" in the CLI and yet another abstraction layer and prop drilling with WithOptions duplicates for every abstraction layer.

Also, the SDK is aware of registry, path and version so I really think it should be here. it turns the CLI intro real CLI finally.

yevgenypats and others added 5 commits September 30, 2022 17:20
Co-authored-by: Herman Schaaf <hermanschaaf@gmail.com>
Co-authored-by: Herman Schaaf <hermanschaaf@gmail.com>
Co-authored-by: Herman Schaaf <hermanschaaf@gmail.com>
@yevgenypats yevgenypats enabled auto-merge (squash) September 30, 2022 14:39
@yevgenypats yevgenypats merged commit 841a81b into main Sep 30, 2022
@yevgenypats yevgenypats deleted the feat/make_clients_one_interface branch September 30, 2022 14:39
yevgenypats pushed a commit that referenced this pull request Sep 30, 2022
🤖 I have created a release *beep* *boop*
---


##
[0.11.2](v0.11.1...v0.11.2)
(2022-09-30)


### Features

* Make NewSourceClient (and dest) as one interface
([#208](#208))
([841a81b](841a81b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
yevgenypats added a commit to cloudquery/cloudquery that referenced this pull request Sep 30, 2022
PluginManager abstraction is not needed anymore. makes less prop
drilling and less code. see cloudquery/plugin-sdk#208
yevgenypats added a commit to cloudquery/cloudquery that referenced this pull request Sep 30, 2022
PluginManager abstraction is not needed anymore. makes less prop
drilling and less code. see
cloudquery/plugin-sdk#208


<!--
Explain what problem this PR addresses
-->

<!--
Use the following steps to ensure your PR is ready to be reviewed

- [ ] Read the [contribution guidelines](../blob/main/CONTRIBUTING.md)
🧑‍🎓
- [ ] Test locally on your own infrastructure
- [ ] Run `go fmt` to format your code 🖊
- [ ] Lint your changes via `golangci-lint run` 🚨 (install golangci-lint
[here](https://golangci-lint.run/usage/install/#local-installation))
- [ ] Update or add tests 🧪
- [ ] Ensure the status checks below are successful ✅
--->

Co-authored-by: Herman Schaaf <hermanschaaf@gmail.com>
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