Skip to content

Added fluent api for microsoft-esque dependency registration #3

Added fluent api for microsoft-esque dependency registration

Added fluent api for microsoft-esque dependency registration #3

Re-run triggered January 6, 2025 01:34
Status Success
Total duration 40s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead.
build: src/Nominatim.API.Tests/QuerySearchTests.cs#L38
Argument of type 'Task<AddressSearchResponse[]>' cannot be used for parameter 'value' of type 'Task<AddressSearchResponse[]?>' in 'ConfiguredCall SubstituteExtensions.Returns<AddressSearchResponse[]?>(Task<AddressSearchResponse[]?> value, AddressSearchResponse[]? returnThis, params AddressSearchResponse[]?[] returnThese)' due to differences in the nullability of reference types.
build: src/Nominatim.API.Tests/AddressLookupTests.cs#L36
Argument of type 'Task<AddressLookupResponse[]>' cannot be used for parameter 'value' of type 'Task<AddressLookupResponse[]?>' in 'ConfiguredCall SubstituteExtensions.Returns<AddressLookupResponse[]?>(Task<AddressLookupResponse[]?> value, AddressLookupResponse[]? returnThis, params AddressLookupResponse[]?[] returnThese)' due to differences in the nullability of reference types.
build: src/Nominatim.API.Tests/GeocoderTests.cs#L39
Argument of type 'Task<GeocodeResponse[]>' cannot be used for parameter 'value' of type 'Task<GeocodeResponse[]?>' in 'ConfiguredCall SubstituteExtensions.Returns<GeocodeResponse[]?>(Task<GeocodeResponse[]?> value, GeocodeResponse[]? returnThis, params GeocodeResponse[]?[] returnThese)' due to differences in the nullability of reference types.
build: src/Nominatim.API.Tests/GeocoderTests.cs#L78
Argument of type 'Task<GeocodeResponse>' cannot be used for parameter 'value' of type 'Task<GeocodeResponse?>' in 'ConfiguredCall SubstituteExtensions.Returns<GeocodeResponse?>(Task<GeocodeResponse?> value, GeocodeResponse? returnThis, params GeocodeResponse?[] returnThese)' due to differences in the nullability of reference types.
build
The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead.
build: src/Nominatim.API.Tests/QuerySearchTests.cs#L38
Argument of type 'Task<AddressSearchResponse[]>' cannot be used for parameter 'value' of type 'Task<AddressSearchResponse[]?>' in 'ConfiguredCall SubstituteExtensions.Returns<AddressSearchResponse[]?>(Task<AddressSearchResponse[]?> value, AddressSearchResponse[]? returnThis, params AddressSearchResponse[]?[] returnThese)' due to differences in the nullability of reference types.
build: src/Nominatim.API.Tests/AddressLookupTests.cs#L36
Argument of type 'Task<AddressLookupResponse[]>' cannot be used for parameter 'value' of type 'Task<AddressLookupResponse[]?>' in 'ConfiguredCall SubstituteExtensions.Returns<AddressLookupResponse[]?>(Task<AddressLookupResponse[]?> value, AddressLookupResponse[]? returnThis, params AddressLookupResponse[]?[] returnThese)' due to differences in the nullability of reference types.
build: src/Nominatim.API.Tests/GeocoderTests.cs#L39
Argument of type 'Task<GeocodeResponse[]>' cannot be used for parameter 'value' of type 'Task<GeocodeResponse[]?>' in 'ConfiguredCall SubstituteExtensions.Returns<GeocodeResponse[]?>(Task<GeocodeResponse[]?> value, GeocodeResponse[]? returnThis, params GeocodeResponse[]?[] returnThese)' due to differences in the nullability of reference types.
build: src/Nominatim.API.Tests/GeocoderTests.cs#L78
Argument of type 'Task<GeocodeResponse>' cannot be used for parameter 'value' of type 'Task<GeocodeResponse?>' in 'ConfiguredCall SubstituteExtensions.Returns<GeocodeResponse?>(Task<GeocodeResponse?> value, GeocodeResponse? returnThis, params GeocodeResponse?[] returnThese)' due to differences in the nullability of reference types.