Skip to content

Conversation

@FrederikBolding
Copy link
Member

When handling notifications on the command stream we already know that the values are valid JSON, therefore we can use hasProperty as a type guard instead of validating the notification entirely.

@FrederikBolding FrederikBolding requested a review from a team as a code owner April 25, 2025 09:49
@codecov
Copy link

codecov bot commented Apr 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.03%. Comparing base (d75fa4d) to head (4c13b8e).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3352   +/-   ##
=======================================
  Coverage   98.03%   98.03%           
=======================================
  Files         402      402           
  Lines       11110    11110           
  Branches     1754     1754           
=======================================
  Hits        10892    10892           
  Misses        218      218           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@FrederikBolding FrederikBolding added this pull request to the merge queue Apr 25, 2025
Merged via the queue into main with commit 6ed661f Apr 25, 2025
168 checks passed
@FrederikBolding FrederikBolding deleted the fb/use-cheaper-type-guard branch April 25, 2025 11:47
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