question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FluentValidation 10.0+ breaking change

See original GitHub issue

On a project where FluentValidation 10 was forced down. Per docs this included breaking changes:

https://docs.fluentvalidation.net/en/latest/upgrading-to-10.html

Currently running Ocelot 17.0 .NET Core 5.0, which now returns this error on startup:

Method not found: 'System.Collections.Generic.IList`1<FluentValidation.Results.ValidationFailure> FluentValidation.Results.ValidationResult.get_Errors()

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
Gurgencommented, Sep 24, 2021

Could you please update FluentValidation to the latest version?

1reaction
vaclavholusacommented, May 30, 2022

Faced the same issue - got it resolved by explicitely installing FluentValidation 11.0.2 together with Ocelot 18.0.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

10.0 Upgrade Guide — FluentValidation documentation
FluentValidation 10.0 is a major release that included several breaking changes. Please review this document carefully before upgrading from ...
Read more >
FluentValidation breaking changes going forward #1527
For FluentValidation 10, I'm considering making several breaking changes that I feel will help the library continue to evolve, ...
Read more >
11.0 Upgrade Guide — FluentValidation documentation
FluentValidation 11.0 is a major release that included several breaking changes. Please review this document carefully before upgrading from FluentValidation 10 ...
Read more >
FluentValidation/Changelog.txt at main
A popular .NET validation library for building strongly-typed validation rules. - FluentValidation/Changelog.txt at main ...
Read more >
FluentValidation 11.7.1
A validation library for .NET that uses a fluent interface to construct strongly-typed validation rules.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found