-
Notifications
You must be signed in to change notification settings - Fork 547
feat(firestore)!: Update to SDK V4 #11701
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
feat(firestore)!: Update to SDK V4 #11701
Conversation
6e980a6 to
cbfa97a
Compare
|
|
||
| func (c *Client) syncTables(ctx context.Context, res chan<- *schema.Resource) error { | ||
| eg, ctx := errgroup.WithContext(ctx) | ||
| eg.SetLimit(len(c.Tables)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No point of setting the limit to the number of tables as that's exactly the number of Go Routines that are created in the loop below
| "github.com/stretchr/testify/require" | ||
| ) | ||
|
|
||
| func TestDynamicTables(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add a full Sync test instead of this one
9e2d9b8 to
4b019ff
Compare
e7bef08 to
d0c638a
Compare
45a5823 to
db32291
Compare
Summary
Similar to #11696.
Still need to test thisFIxes #11756
BEGIN_COMMIT_OVERRIDE
feat!: Upgrades the firestore source plugin to use plugin-sdk v4. This version does not contain any user-facing breaking changes, but because it is now using CloudQuery gRPC protocol v3, it does require use of a destination plugin that also supports protocol v3. All recent destination plugin versions support this.
END_COMMIT_OVERRIDE