Skip to content

[Conditional Configurability] Add support for Booleans y Numbers#3143

Merged
vegaro merged 1 commit into
cesar/conditional-configurabilityfrom
cesar/conditional-configurability-variables
Feb 26, 2026
Merged

[Conditional Configurability] Add support for Booleans y Numbers#3143
vegaro merged 1 commit into
cesar/conditional-configurabilityfrom
cesar/conditional-configurability-variables

Conversation

@vegaro

@vegaro vegaro commented Feb 26, 2026

Copy link
Copy Markdown
Member

We were missing support for boolean and number custom variables


Note

Medium Risk
Public API surface changes by making CustomVariableValue.Number and CustomVariableValue.Boolean publicly constructible and updating call sites to use typed values, which could affect downstream integrations and string formatting expectations.

Overview
Adds first-class support for numeric and boolean custom paywall variables by making CustomVariableValue.Number and CustomVariableValue.Boolean public and exporting them in the public API (api.txt).

Updates the tester apps and examples to construct and pass typed Number/Boolean values (instead of stringifying), including the custom variables editor dialog’s value creation logic and sample CUSTOM_VARIABLES/API tests.

Written by Cursor Bugbot for commit 84aec0f. This will update automatically on new commits. Configure here.

@vegaro vegaro requested a review from a team as a code owner February 26, 2026 13:58
@vegaro vegaro added the pr:feat A new feature label Feb 26, 2026
@vegaro vegaro requested a review from facumenzella February 26, 2026 13:58
@codecov

codecov Bot commented Feb 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.22%. Comparing base (a5d3f1e) to head (84aec0f).
⚠️ Report is 1 commits behind head on cesar/conditional-configurability.

Additional details and impacted files
@@                        Coverage Diff                         @@
##           cesar/conditional-configurability    #3143   +/-   ##
==================================================================
  Coverage                              79.22%   79.22%           
==================================================================
  Files                                    347      347           
  Lines                                  13948    13948           
  Branches                                1893     1893           
==================================================================
  Hits                                   11050    11050           
  Misses                                  2112     2112           
  Partials                                 786      786           

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

@tonidero tonidero 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.

I think this looks great! 🚢

@vegaro vegaro merged commit 5681684 into cesar/conditional-configurability Feb 26, 2026
28 of 29 checks passed
@vegaro vegaro deleted the cesar/conditional-configurability-variables branch February 26, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants