Skip to content

Make global variables dynamic in t4-templates and remove method GetFo… #14

Make global variables dynamic in t4-templates and remove method GetFo…

Make global variables dynamic in t4-templates and remove method GetFo… #14

Triggered via pull request November 23, 2023 16:52
Status Success
Total duration 32s
Artifacts

run-tests.yml

on: pull_request
build_and_test
24s
build_and_test
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
build_and_test: src/ManiaTemplates/ManiaTemplateEngine.cs#L138
Argument of type 'ConcurrentDictionary<string, object>' cannot be used for parameter 'globalVariables' of type 'IDictionary<string, object?>' in 'Task<string> ManiaLink.RenderAsync(IDictionary<string, object?> data, IDictionary<string, object?>? globalVariables = null)' due to differences in the nullability of reference types.
build_and_test: tests/ManiaTemplates.Tests/IntegrationTests/DynamicDictionary.cs#L31
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).
build_and_test: src/ManiaTemplates/ManiaTemplateEngine.cs#L138
Argument of type 'ConcurrentDictionary<string, object>' cannot be used for parameter 'globalVariables' of type 'IDictionary<string, object?>' in 'Task<string> ManiaLink.RenderAsync(IDictionary<string, object?> data, IDictionary<string, object?>? globalVariables = null)' due to differences in the nullability of reference types.
build_and_test: tests/ManiaTemplates.Tests/IntegrationTests/DynamicDictionary.cs#L31
Nullability of type of parameter 'value' doesn't match overridden member (possibly because of nullability attributes).