Skip to content

Chore: Bump Fluent Validation to 12.1.1#93

Merged
plz12345 merged 1 commit into
Whisparr:eros-developfrom
plz12345:bump-validation-package
Feb 11, 2026
Merged

Chore: Bump Fluent Validation to 12.1.1#93
plz12345 merged 1 commit into
Whisparr:eros-developfrom
plz12345:bump-validation-package

Conversation

@plz12345

@plz12345 plz12345 commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

This is a large number of files, but a consistent implementation of edit style. The core of the change is that Fluent 12 now requires strongly-typed arguments when constructing, so, because we use it in a lot of places, it's a lot of small edits.

This pass DOES NOT statically set the explicit object types (e.g., using T instead of Movie for movie validation). That would've been a much more intense edit, while not gaining much beyond build-time type safety. We can revisit that in the future, but for now, this is just as type-safe as what we previously had, but, with the newer package improvements.

You'll notice creating rules for simple things like "is not null" is way more simple in the new package.

This builds and runs clean, tests clean, and I ran through a few things in Settings that I knew would throw validation errors, all successful.

Database Migration

NO

Screenshot (if UI related)

Todos

  • Tests
  • Translation Keys (./src/NzbDrone.Core/Localization/Core/en.json)
  • Wiki Updates

Issues Fixed or Closed by this PR

This is a large number of files, but a consistent implementation of edit style.  The core of the change is that Fluent 12 now requires strongly-typed arguments when constructing, so, because we use it in a lot of places, it's a lot of small edits.
@plz12345 plz12345 force-pushed the bump-validation-package branch from 00644ca to 2907672 Compare February 10, 2026 20:56
@plz12345 plz12345 requested a review from sampulsar February 11, 2026 00:13
@plz12345 plz12345 merged commit ebf30aa into Whisparr:eros-develop Feb 11, 2026
72 of 77 checks passed
@plz12345 plz12345 deleted the bump-validation-package branch February 11, 2026 02:16
plz12345 added a commit to plz12345/Whisparr-Eros that referenced this pull request Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants