Skip to content

remove v2-specific guards for removing nils from request params#1816

Merged
xavdid-stripe merged 1 commit intomasterfrom
DEVSDK-2990
Mar 17, 2026
Merged

remove v2-specific guards for removing nils from request params#1816
xavdid-stripe merged 1 commit intomasterfrom
DEVSDK-2990

Conversation

@xavdid-stripe
Copy link
Copy Markdown
Contributor

Why?

In #1796, we fixed a bug where values that defaulted to nil were erroneously sent to the server in v2 requests. At the time, we restricted these new checks to v2 requests because V1 requests already handled this correctly (nil is ignored in request params). For simplicity, we're removing the v2-specific checks and using the same approach for all request params. This shouldn't be a user-facing change.

What?

  • remove v2-specific checks around RequestParms value tracking
  • adjust checks

See Also

@xavdid-stripe xavdid-stripe requested a review from a team as a code owner March 16, 2026 20:27
@xavdid-stripe xavdid-stripe requested review from mbroshi-stripe and removed request for a team March 16, 2026 20:27
@xavdid-stripe xavdid-stripe merged commit 1330eb0 into master Mar 17, 2026
15 checks passed
@xavdid-stripe xavdid-stripe deleted the DEVSDK-2990 branch March 17, 2026 21:21
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