elastic / elasticsearch-net

This strongly-typed, client library enables working with Elasticsearch. It is the official client maintained and supported by Elastic.
https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index.html
Apache License 2.0
3.57k stars 1.15k forks source link

Ignore obsolete warning in tests #8290

Closed svalbuena closed 1 month ago

svalbuena commented 1 month ago

Added a rule in .editorconfig to ignore any obsolete method usage warning, rather than adding the pragma on every impacted class, this fixes some cases that were missing the pragma statement. The tests still don't build nor work, but it's a step towards that.

flobernd commented 1 month ago

Thank you for the PR. I think adding this directive to .editorconfig is okay for now. A lot of tests have not been adjusted after the breaking 8.13 release yet. This is definitely something I would like to fix in a timely manner.