Skip to content

Upgrade to Elastic.Clients.Elasticsearch #444

Upgrade to Elastic.Clients.Elasticsearch

Upgrade to Elastic.Clients.Elasticsearch #444

Triggered via pull request September 16, 2024 20:38
Status Failure
Total duration 47s
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/ElasticQueryParserTests.cs#L1566
Operator '!' cannot be applied to operand of type 'ExistsQuery'
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/ElasticMappingResolverTests.cs#L63
'TypeMappingDescriptor<MyNestedType> ElasticMappingResolverTests.MapMyNestedType(TypeMappingDescriptor<MyNestedType>)' has the wrong return type
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#L98
'TypeMappingDescriptor<MyNestedType> ElasticMappingResolverTests.MapMyNestedType(TypeMappingDescriptor<MyNestedType>)' has the wrong return 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/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/ElasticQueryParserTests.cs#L93
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: src/Foundatio.Parsers.ElasticQueries/ElasticMappingResolver.cs#L500
'IndicesNamespacedClient.Refresh(Indices?)' is obsolete: 'Synchronous methods are deprecated and could be removed in the future.'