Use getPayload instead of getOriginalPayload to process the UDF changes#3745
Use getPayload instead of getOriginalPayload to process the UDF changes#3745le-michael wants to merge 3 commits intoGoogleCloudPlatform:mainfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the data processing logic within the MongoDB to Firestore transformation pipeline. By switching to the processed payload, the system ensures that UDF (User Defined Function) modifications are correctly accounted for during the event context creation. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (14.28%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #3745 +/- ##
============================================
+ Coverage 52.91% 53.06% +0.15%
- Complexity 6346 6428 +82
============================================
Files 1069 1070 +1
Lines 64648 64941 +293
Branches 7165 7193 +28
============================================
+ Hits 34206 34459 +253
- Misses 28141 28167 +26
- Partials 2301 2315 +14
🚀 New features to boost your workflow:
|
Verified manually that applying a UDF works in transforming the data and excluding a UDF maintains the original payload.
Example UDF: