Skip to content

Fix STJ for Emptyable fields#3070

Merged
jar-stripe merged 3 commits intobetafrom
jar/fix-beta-mar-2025
Mar 26, 2025
Merged

Fix STJ for Emptyable fields#3070
jar-stripe merged 3 commits intobetafrom
jar/fix-beta-mar-2025

Conversation

@jar-stripe
Copy link
Copy Markdown
Contributor

@jar-stripe jar-stripe commented Mar 26, 2025

Why?

Upcoming APIs use Emptyable fields which were not fully supported in our System.Text.Json implementation. This PR fixes that.

What?

  • adds STJEmptyableConverter
  • adds IEmptyable interface to make base type comparisons easier
  • updates wholesome tests

See Also

@jar-stripe jar-stripe changed the base branch from master to beta March 26, 2025 02:55
@jar-stripe jar-stripe changed the title Jar/fix beta mar 2025 Fix STJ for Emptyable fields Mar 26, 2025
@jar-stripe jar-stripe marked this pull request as ready for review March 26, 2025 16:27
@jar-stripe jar-stripe requested a review from a team as a code owner March 26, 2025 16:27
@jar-stripe jar-stripe requested review from prathmesh-stripe and removed request for a team March 26, 2025 16:27
@jar-stripe jar-stripe merged commit 2816cad into beta Mar 26, 2025
3 of 4 checks passed
@jar-stripe jar-stripe deleted the jar/fix-beta-mar-2025 branch March 26, 2025 19:06
jar-stripe added a commit that referenced this pull request Mar 28, 2025
jar-stripe added a commit that referenced this pull request Mar 28, 2025
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