Skip to content

Replace BreadcrumbLevel and BreadcrumbType enums with String to accept arbitrary SDK values#622

Merged
neSpecc merged 4 commits intomasterfrom
fix/breadcrumb-enums-to-strings
Feb 10, 2026
Merged

Replace BreadcrumbLevel and BreadcrumbType enums with String to accept arbitrary SDK values#622
neSpecc merged 4 commits intomasterfrom
fix/breadcrumb-enums-to-strings

Conversation

@Dobrunia
Copy link
Member

@Dobrunia Dobrunia commented Feb 7, 2026

Breadcrumb type and level fields were defined as GraphQL enums with a fixed set of values. SDK users can send arbitrary strings (e.g. "debug" as a type), which causes GraphQL validation errors like Enum "BreadcrumbType" cannot represent value: "debug".

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 41.14%. Comparing base (0f8dad9) to head (c56ad1b).
⚠️ Report is 19 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #622       +/-   ##
===========================================
- Coverage   58.30%   41.14%   -17.16%     
===========================================
  Files          19       45       +26     
  Lines         518     2151     +1633     
  Branches       95      456      +361     
===========================================
+ Hits          302      885      +583     
- Misses        216     1199      +983     
- Partials        0       67       +67     

☔ 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.

@neSpecc neSpecc merged commit 859b96b into master Feb 10, 2026
7 checks passed
@neSpecc neSpecc deleted the fix/breadcrumb-enums-to-strings branch February 10, 2026 12:59
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