-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Given a project that is using Semver NuGet Version="3.0.0" explicitly:
.csproj
<PackageReference Include="Semver" Version="3.0.0" />
An exception is thrown by Flagsmith SDK when trying to evaluate a feature that is using this operator, locally (Local Evaluation Mode):
How to repro:
- Create new .NET 8.0 project (or 9.0)
- Add Semver ver 3.0.0 nuget
- Add Flagsmith 7.0.1 nuget
- Setup Flagsmith to use Local Evaluation.
- Evaluate any flag with segment override with at least one SemVer operator.
Expected:
Feature successfully evaluated.
Actual:
Exception is thrown when trying to evaluate locally.
Failed to access feature my-feature for identity FlagsmithDemo: Method not found: 'Boolean Semver.SemVersion.op_GreaterThan(Semver.SemVersion, Semver.SemVersion)'.
Suggestion:
Either upgrade to latest Semver and fix breaking changes, or better, do not use Semver, instead, implement the version comparison operators as part of the library.
The less 3rd-party NuGet being used, the less compatibility and dependency hell.
Metadata
Metadata
Assignees
Labels
No labels