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

refactor(CatalogHelpers): remove catalog diff helper methods #75

Merged
merged 2 commits into from
May 7, 2024

Conversation

pedroslopez
Copy link
Contributor

@pedroslopez pedroslopez commented May 7, 2024

What

This removes a group of methods that deal with comparing catalogs and returning the diff. These methods are a platform concern, and it makes it hard to iterate on the diffing logic / what we consider transforms and breaking changes.

These helpers are not part of the protocol itself, but rather helpers. As such, we've moved the diff-related methods into the platform in https://github.com/airbytehq/airbyte-platform-internal/pull/12303

I've only pulled out the methods needed for diffing instead of removing the whole CatalogHelpers class because the connectors repo relies on some of these helpers in the tests (to ie create a configured catalog or get top-level fields). I've looked through the airbyte connector codebase and none of the removed methods on this PR are used by it.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pedroslopez and the rest of your teammates on Graphite Graphite

@pedroslopez pedroslopez changed the title remove catalog diff helpers CatalogHelpers: remove catalog diff helper methods May 7, 2024
@pedroslopez pedroslopez changed the title CatalogHelpers: remove catalog diff helper methods fix(CatalogHelpers): remove catalog diff helper methods May 7, 2024
@pedroslopez pedroslopez changed the title fix(CatalogHelpers): remove catalog diff helper methods refactor(CatalogHelpers): remove catalog diff helper methods May 7, 2024
@pedroslopez pedroslopez marked this pull request as ready for review May 7, 2024 00:34
Copy link
Contributor

@evantahler evantahler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷 you deleted stuff, and I don't think we used it... so 👍

Copy link
Contributor

@davinchia davinchia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔪

@pedroslopez pedroslopez merged commit 9d3d67d into main May 7, 2024
11 checks passed
@pedroslopez pedroslopez deleted the pedro/rm-diff-helpers branch May 7, 2024 17:52
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.

3 participants