Skip to content

simplify code

simplify code #88

Triggered via push January 18, 2024 09:37
Status Success
Total duration 2m 39s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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#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#L20
Non-nullable property 'AcceptedBlockTypes' 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#L122
Non-nullable property 'ImageUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: NotionSharp/NotionSessionExtensions.cs#L60
Possible null reference return.
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/BlockExtensions.cs#L136
Possible null reference argument for parameter 'contentIds' in 'bool BlockExtensions.Transform(List<Guid> contentIds, Dictionary<Guid, Block> allBlocks, TransformOptions transformOptions)'.