Skip to content

CDK Improvements: Typing - #55798

Merged
Francis Genet (frifriSF59) merged 10 commits into
masterfrom
frifri/as_enriched_values
Mar 20, 2025
Merged

Francis Genet (frifriSF59) merged 10 commits into
masterfrom
frifri/as_enriched_values

Conversation

@frifriSF59

@frifriSF59 Francis Genet (frifriSF59) commented Mar 17, 2025 •

Copy link
Copy Markdown
Contributor

What

Improve the typing mechanism that developers should use to coerce / transform / validate types.
This PR will not break existing implementation and the old style will live on (at least for a bit).

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

@vercel

vercel Bot commented Mar 17, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2025 11:15pm

@edgao Edward Gao (edgao) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

seems reasonable, had a thought about the airbyte meta stuff. We can figure that out later though 🤷

@edgao
Edward Gao (edgao) force-pushed the frifri/as_enriched_values branch from 7494014 to 965f4c4 Compare March 18, 2025 17:24
@edgao
Edward Gao (edgao) changed the base branch from master to edgao/destinationrecord_has_full_stream March 18, 2025 17:24
@edgao
Edward Gao (edgao) force-pushed the frifri/as_enriched_values branch from 965f4c4 to e35ebf1 Compare March 19, 2025 16:50
Base automatically changed from edgao/destinationrecord_has_full_stream to master March 19, 2025 17:09
@frifriSF59 Francis Genet (frifriSF59) changed the title Typing stuff CDS Improvements: Typing Mar 19, 2025
@frifriSF59 Francis Genet (frifriSF59) changed the title CDS Improvements: Typing CDK Improvements: Typing Mar 19, 2025

@edgao Edward Gao (edgao) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we should probably have some tests for DestinationRecordRaw.asEnriched

(also, suggested two tests to drop)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

blegh. we should put comments on airbyteMetaFields + allTypedFields that this value will change on every invocation

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should this actually bet set at the instance level instead?

@edgao Edward Gao (edgao) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

minor nits on test structure, otherwise :shipit:

@frifriSF59
Francis Genet (frifriSF59) merged commit 7ef4475 into master Mar 20, 2025
@frifriSF59
Francis Genet (frifriSF59) deleted the frifri/as_enriched_values branch March 20, 2025 23:26
Sven Pöche (Valgard) pushed a commit to mayflower/airbyte that referenced this pull request Mar 25, 2025
Co-authored-by: Edward Gao <edward.gao@airbyte.io>

This branch was successfully deployed

1 active deployment
Preview — dbcacf22 Deployed Mar 20, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants