Skip to content

feat: Deprecate constructors with >1 parameter and IFlagsmithConfig interface. Add EnableLocalEvaluation and EnvironmentRefreshInterval properties #285

feat: Deprecate constructors with >1 parameter and IFlagsmithConfig interface. Add EnableLocalEvaluation and EnvironmentRefreshInterval properties

feat: Deprecate constructors with >1 parameter and IFlagsmithConfig interface. Add EnableLocalEvaluation and EnvironmentRefreshInterval properties #285

Triggered via pull request February 26, 2025 18:12
Status Success
Total duration 1m 35s
Artifacts

formatting-and-tests.yml

on: pull_request
Matrix: Check Build and formatting
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

79 warnings
Test (Flagsmith.EngineTest, 6.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 6.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 6.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 6.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 8.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 8.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 8.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 8.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 7.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 7.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 7.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.EngineTest, 7.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Engine): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Engine): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Engine): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Engine): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Engine): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L9
'IFlagsmithConfiguration' is obsolete: 'Use FlagsmithConfiguration instead.'
Check Build and formatting (Flagsmith.Engine): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Check Build and formatting (Flagsmith.Engine): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Check Build and formatting (Flagsmith.Engine): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L16
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Check Build and formatting (Flagsmith.Engine): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L127
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Check Build and formatting (Flagsmith.Engine): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L9
'IFlagsmithConfiguration' is obsolete: 'Use FlagsmithConfiguration instead.'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L16
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L127
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Check Build and formatting (Flagsmith.FlagsmithClient): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 6.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 6.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 6.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 6.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 6.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L9
'IFlagsmithConfiguration' is obsolete: 'Use FlagsmithConfiguration instead.'
Test (Flagsmith.Client.Test, 6.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test (Flagsmith.Client.Test, 6.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test (Flagsmith.Client.Test, 6.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L16
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Test (Flagsmith.Client.Test, 6.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L127
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L9
'IFlagsmithConfiguration' is obsolete: 'Use FlagsmithConfiguration instead.'
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L16
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L127
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Check Build and formatting (Flagsmith.EngineTest): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L9
'IFlagsmithConfiguration' is obsolete: 'Use FlagsmithConfiguration instead.'
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L16
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L127
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Check Build and formatting (Flagsmith.Client.Test): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 7.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 7.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 7.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 7.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 7.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L9
'IFlagsmithConfiguration' is obsolete: 'Use FlagsmithConfiguration instead.'
Test (Flagsmith.Client.Test, 7.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test (Flagsmith.Client.Test, 7.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test (Flagsmith.Client.Test, 7.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L16
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Test (Flagsmith.Client.Test, 7.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L127
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Test (Flagsmith.Client.Test, 8.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L175
'SemVersion.operator >(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 8.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L176
'SemVersion.operator >=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 8.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L177
'SemVersion.operator <(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 8.0.x): Flagsmith.Engine/Segment/Evaluator.cs#L178
'SemVersion.operator <=(SemVersion, SemVersion)' is obsolete: 'Operator is obsolete. Use CompareSortOrder() or ComparePrecedence() instead.'
Test (Flagsmith.Client.Test, 8.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L9
'IFlagsmithConfiguration' is obsolete: 'Use FlagsmithConfiguration instead.'
Test (Flagsmith.Client.Test, 8.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test (Flagsmith.Client.Test, 8.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test (Flagsmith.Client.Test, 8.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L16
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'
Test (Flagsmith.Client.Test, 8.0.x): Flagsmith.FlagsmithClient/FlagsmithConfiguration.cs#L127
'FlagsmithConfiguration.ApiUrl' is obsolete: 'Use ApiUri instead.'