Skip to content

Upgrade to Elastic.Clients.Elasticsearch #586

Upgrade to Elastic.Clients.Elasticsearch

Upgrade to Elastic.Clients.Elasticsearch #586

Triggered via pull request February 28, 2025 22:15
Status Failure
Total duration 38s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L108
Argument 1: cannot convert from 'System.Func<Elastic.Clients.Elasticsearch.Mapping.TypeMappingDescriptor<T>, Elastic.Clients.Elasticsearch.Mapping.TypeMappingDescriptor<T>>' to 'Elastic.Clients.Elasticsearch.Mapping.TypeMapping?'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/Utility/ElasticsearchTestBase.cs#L118
Argument 1: cannot convert from 'System.Func<Elastic.Clients.Elasticsearch.Mapping.TypeMappingDescriptor<T>, Elastic.Clients.Elasticsearch.Mapping.TypeMappingDescriptor<T>>' to 'Elastic.Clients.Elasticsearch.Mapping.TypeMapping?'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticMappingResolverTests.cs#L24
Cannot convert lambda expression to type 'ICollection<IDictionary<string, DynamicTemplate>>' because it is not a delegate type
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/AggregationParserTests.cs#L71
Argument 1: cannot convert from 'Foundatio.Parsers.ElasticQueries.AggregationMap' to 'System.Func<Elastic.Clients.Elasticsearch.Fluent.FluentDescriptorDictionary<string, Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor<Foundatio.Parsers.ElasticQueries.Tests.MyType>>, Elastic.Clients.Elasticsearch.Fluent.FluentDescriptorDictionary<string, Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor<Foundatio.Parsers.ElasticQueries.Tests.MyType>>>'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticMappingResolverTests.cs#L62
'TypeMappingDescriptor<MyNestedType> ElasticMappingResolverTests.MapMyNestedType(TypeMappingDescriptor<MyNestedType>)' has the wrong return type
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: tests/Foundatio.Parsers.ElasticQueries.Tests/AggregationParserTests.cs#L134
Argument 1: cannot convert from 'Foundatio.Parsers.ElasticQueries.AggregationMap' to 'System.Func<Elastic.Clients.Elasticsearch.Fluent.FluentDescriptorDictionary<string, Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor<Foundatio.Parsers.ElasticQueries.Tests.MyType>>, Elastic.Clients.Elasticsearch.Fluent.FluentDescriptorDictionary<string, Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor<Foundatio.Parsers.ElasticQueries.Tests.MyType>>>'
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/AggregationParserTests.cs#L139
No overload for method 'Min' takes 2 arguments
build / build: tests/Foundatio.Parsers.ElasticQueries.Tests/ElasticQueryParserTests.cs#L127
Operator '&&' cannot be applied to operands of type 'QueryDescriptor<MyType>' and 'QueryDescriptor<MyType>'
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: 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.'