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

fix: adding check for reserved key words in extract custom fields #3264

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

shrouti1507
Copy link
Contributor

@shrouti1507 shrouti1507 commented Apr 9, 2024

What are the changes introduced in this PR?

Solution of bugsnag error
Screenshot 2024-04-09 at 11 58 59 PM

What is the related Linear task?

Resolves INT-1986

Please explain the objectives of your changes below

Put down any required details on the broader aspect of your changes. If there are any dependent changes, mandatorily mention them here

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

N/A

Any new dependencies introduced with this change?

N/A

Any new generic utility introduced or modified. Please explain the changes.

Change is extractCustomField to solve bugsnag error

Any technical or performance related pointers to consider with the change?

N/A

@coderabbitai review


Developer checklist

  • My code follows the style guidelines of this project

  • No breaking changes are being introduced.

  • All related docs linked with the PR?

  • All changes manually tested?

  • Any documentation changes needed with this change?

  • Is the PR limited to 10 file changes?

  • Is the PR limited to one linear task?

  • Are relevant unit and component test-cases added?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?

  • Verified that there are no credentials or confidential data exposed with the changes.

@shrouti1507 shrouti1507 requested a review from a team as a code owner April 9, 2024 18:26
@shrouti1507 shrouti1507 requested review from utsabc and koladilip April 9, 2024 18:26
@shrouti1507 shrouti1507 self-assigned this Apr 9, 2024
@shrouti1507 shrouti1507 requested a review from ItsSudip April 9, 2024 18:26
@devops-github-rudderstack
Copy link
Contributor

Copy link

codecov bot commented Apr 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.84%. Comparing base (218f08c) to head (ab583e7).
Report is 15 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3264      +/-   ##
===========================================
+ Coverage    87.78%   87.84%   +0.06%     
===========================================
  Files          556      556              
  Lines        29832    29932     +100     
  Branches      7110     7146      +36     
===========================================
+ Hits         26188    26295     +107     
+ Misses        3308     3305       -3     
+ Partials       336      332       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/v0/util/index.js Outdated Show resolved Hide resolved
ItsSudip
ItsSudip previously approved these changes Apr 12, 2024
@utsabc
Copy link
Member

utsabc commented Apr 12, 2024

Please consider if this is a breaking change or not.

@shrouti1507
Copy link
Contributor Author

shrouti1507 commented Apr 12, 2024

Please consider if this is a breaking change or not.

dropping the reserved keys as @koladilip suggested here. Added test cases for all

Copy link

@shrouti1507 shrouti1507 merged commit 3399c47 into develop Apr 12, 2024
16 checks passed
@shrouti1507 shrouti1507 deleted the fix.throw_error_for_reserved_keyword branch April 12, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants