Skip to content

Commit 3228ad8

Browse files
chore!: removes the fractionalEvaluation operator since it has been replaced with fractional. (#1704)
## This PR <!-- add the description of the PR here --> - adds this new feature ### Related Issues - removes the `fractionalEvaluation` operator since it has been replaced with `fractional`. Fixes #1677 --------- Signed-off-by: NeaguGeorgiana23 <115723925+NeaguGeorgiana23@users.noreply.github.com>
1 parent 5c5c1cf commit 3228ad8

3 files changed

Lines changed: 0 additions & 446 deletions

File tree

core/pkg/evaluator/json.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ func NewResolver(store store.IStore, logger *logger.Logger, jsonEvalTracer trace
139139
jsonlogic.AddOperator(StartsWithEvaluationName, NewStringComparisonEvaluator(logger).StartsWithEvaluation)
140140
jsonlogic.AddOperator(EndsWithEvaluationName, NewStringComparisonEvaluator(logger).EndsWithEvaluation)
141141
jsonlogic.AddOperator(SemVerEvaluationName, NewSemVerComparison(logger).SemVerEvaluation)
142-
jsonlogic.AddOperator(LegacyFractionEvaluationName, NewLegacyFractional(logger).LegacyFractionalEvaluation)
143142

144143
return Resolver{store: store, Logger: logger, tracer: jsonEvalTracer}
145144
}

core/pkg/evaluator/legacy_fractional.go

Lines changed: 0 additions & 145 deletions
This file was deleted.

0 commit comments

Comments
 (0)