Skip to content

add unit test and fix #81

add unit test and fix

add unit test and fix #81

Triggered via push January 11, 2024 16:09
Status Success
Total duration 52s
Artifacts 1

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: NotionSharp/BlockExtensions.cs#L88
Non-nullable property 'Columns' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: NotionSharp/BlockExtensions.cs#L93
Non-nullable property 'ColumnBlock' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: NotionSharp/BlockExtensions.cs#L99
Non-nullable property 'Lines' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: NotionSharp/BlockExtensions.cs#L104
Non-nullable property 'Text' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: NotionSharp/BlockExtensions.cs#L20
Non-nullable property 'AcceptedBlockTypes' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: NotionSharp/BlockExtensions.cs#L122
Non-nullable property 'ImageUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: NotionSharp/BlockExtensions.cs#L110
Non-nullable property 'Text' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: NotionSharp/NotionUtils.cs#L14
'Uri.EscapeUriString(string)' is obsolete: 'Uri.EscapeUriString can corrupt the Uri string in some cases. Consider using Uri.EscapeDataString for query string components instead.' (https://aka.ms/dotnet-warnings/SYSLIB0013)
build: NotionSharp/BlockExtensions.cs#L136
Possible null reference argument for parameter 'contentIds' in 'bool BlockExtensions.Transform(List<Guid> contentIds, Dictionary<Guid, Block> allBlocks, TransformOptions transformOptions)'.
build: NotionSharp/NotionSessionExtensions.cs#L60
Possible null reference return.

Artifacts

Produced during runtime
Name Size
nuget Expired
112 KB