Skip to content

Merge branch 'main' into feature/elastic-client #513

Merge branch 'main' into feature/elastic-client

Merge branch 'main' into feature/elastic-client #513

Triggered via push November 22, 2024 18:22
Status Failure
Total duration 1m 27s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticMappingResolverTests.cs#L23
'TypeMappingDescriptor<MyNestedType>' does not contain a definition for 'AutoMap' and no accessible extension method 'AutoMap' accepting a first argument of type 'TypeMappingDescriptor<MyNestedType>' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L103
Operator '??=' cannot be applied to operands of type 'Func<TypeMappingDescriptor<T>, TypeMappingDescriptor<T>>' and 'lambda expression'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L106
'CreateIndexRequestDescriptor' does not contain a definition for 'Map' and no accessible extension method 'Map' accepting a first argument of type 'CreateIndexRequestDescriptor' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticMappingResolverTests.cs#L63
'TypeMappingDescriptor<MyNestedType> ElasticMappingResolverTests.MapMyNestedType(TypeMappingDescriptor<MyNestedType>)' has the wrong return type
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L113
Operator '??=' cannot be applied to operands of type 'Func<TypeMappingDescriptor<T>, TypeMappingDescriptor<T>>' and 'lambda expression'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L116
'CreateIndexRequestDescriptor' does not contain a definition for 'Map' and no accessible extension method 'Map' accepting a first argument of type 'CreateIndexRequestDescriptor' could be found (are you missing a using directive or an assembly reference?)
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L137
Argument 1: cannot convert from 'System.Collections.Generic.List<Elastic.Clients.Elasticsearch.IndexName>' to 'string'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/CustomVisitorTests.cs#L36
Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticQueryParserTests.cs#L93
Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/CustomVisitorTests.cs#L61
Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L500
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L501
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L516
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L517
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L538
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L539
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L554
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L555
'IndicesNamespacedClient.GetMapping(GetMappingRequest)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: src/Foundatio.Parsers.ElasticQueries/Extensions/ElasticExtensions.cs#L201
'ElasticsearchClient.Ping()' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'
build / build: tests/Foundatio.Parsers.SqlQueries.Tests/SqlQueryParserTests.cs#L336
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.