Skip to content

Nullable problems fail the build (v13) - #186

Merged
AaronSadlerUK merged 4 commits into
dev/v13from
chore/nullable-errors-v13
Oct 14, 2026
Merged

AaronSadlerUK merged 4 commits into
dev/v13from
chore/nullable-errors-v13

Conversation

@AaronSadlerUK

@AaronSadlerUK AaronSadlerUK commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Makes nullable problems fail the build in every project (tests included): Directory.Build.props sets Nullable to enable and WarningsAsErrors to include nullable. Null-forgiving operators (null!, default! and every other !) are gone from production and test code; nulls are handled, guarded or annotated. A source-scan test fails if any production file brings one back.

Not merged: please review.

🤖 Generated with Claude Code

Note: this branch is based on v13/ci-testcontainers (PR #182, still open), because the parent repo's dev/v13 pins that commit (it adds the UmbCheckout.Testing project the solution references). Merge #182 first, or this PR carries its commit too.

The null-forgiving scan now also catches x!( x![ x! == y x! : y and null ! (as on v17); nothing new was found.

AaronSadlerUK and others added 4 commits October 14, 2026 16:53
…ble; no null-forgiving operators in production or test code; source scan test; submodule pointers

Public API annotation changes (binary compatible): the LicenseService parameter of ConfigurationService, SessionService, StripeSessionService, StripeSettingsService, StripeSettingsApiController and ConfigurationApiController is LicenseService?; ICurrencyService.GetCurrencyForContentAsync and the add-to-basket view component take IPublishedContent? (they already handled null).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eutral comment in LoggingTests

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…r flags a logical not after a lambda arrow (as v17); test cases

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…in); submodule pointers to the dev/v13 merge commits (Stripe, Stripe.Forms, uSync, Stripe.uSync)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AaronSadlerUK
AaronSadlerUK merged commit 25146f8 into dev/v13 Oct 14, 2026
2 checks passed
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.

1 participant