-
Notifications
You must be signed in to change notification settings - Fork 409
refactor: improve partitioning code #2447
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
base: next
Are you sure you want to change the base?
Conversation
b2060ac
to
c2e01b4
Compare
} | ||
import type { Config } from "./types"; | ||
import { PartitioningConfig } from "./partitioning/config"; | ||
export type { Config } from "./types"; |
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.
We will have to decide what to name this type we're exporting
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.
@CorieW suggestions here?
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.
maybe we just keep it the same
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.
just Config seems fine to me
@@ -5,7 +5,7 @@ | |||
"url": "github.com/firebase/extensions.git", | |||
"directory": "firestore-bigquery-export/firestore-bigquery-change-tracker" | |||
}, | |||
"version": "1.1.38", | |||
"version": "2.0.0", |
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.
made it a breaking change as API for package changes
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 like, LGTM.
Additionally, it would be nice to have tests for each partition type, but probably in a different PR.
a fresh attempt at refactoring partitioning so it is easier to reason about.