Skip to content

Add support for lambda expressions instead of json path for ignore and accept #2

Add support for lambda expressions instead of json path for ignore and accept

Add support for lambda expressions instead of json path for ignore and accept #2

Triggered via pull request January 3, 2024 12:13
Status Failure
Total duration 1m 46s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
tests
Process completed with exit code 6.
tests: src/Snapshooter/Core/SnapshotFileHandler.cs#L96
Nullability of reference types in type of parameter 'snapshotData' of 'bool SnapshotFileHandler.TryReadSnapshot(SnapshotFullName snapshotFullName, out string? snapshotData)' doesn't match implicitly implemented member 'bool ISnapshotFileHandler.TryReadSnapshot(SnapshotFullName snapshotFullName, out string snapshotData)' (possibly because of nullability attributes).
tests: src/Snapshooter/Extensions/TypeExtensions.cs#L37
Converting null literal or possible null value to non-nullable type.
tests: src/Snapshooter/Extensions/TypeExtensions.cs#L42
Converting null literal or possible null value to non-nullable type.
tests: src/Snapshooter/Extensions/TypeExtensions.cs#L50
Possible null reference argument for parameter 'type' in 'string TypeExtensions.GetAliasName(Type type)'.
tests: src/Snapshooter/Core/MatchOperators/IgnoreMatchOperator.cs#L19
Non-nullable field '_fieldPath' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
tests: src/Snapshooter/Core/MatchOperators/IsTypeMatchOperator.cs#L21
Non-nullable field '_fieldsPath' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
tests: src/Snapshooter/Extensions/TypeExtensions.cs#L84
Converting null literal or possible null value to non-nullable type.
tests: src/Snapshooter/Core/MatchOperators/AcceptMatchOperator.cs#L10
Missing XML comment for publicly visible type or member 'AcceptMatchOperator<T>'
tests: src/Snapshooter/Core/MatchOperators/AcceptMatchOperator.cs#L16
Missing XML comment for publicly visible type or member 'AcceptMatchOperator<T>.AcceptMatchOperator(string, bool)'
tests: src/Snapshooter/Core/MatchOperators/AcceptMatchOperator.cs#L25
Missing XML comment for publicly visible type or member 'AcceptMatchOperator<T>.HasFormatAction()'