Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Add support for negative indexing of arrays in ObjectPath #108763

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

arteam
Copy link
Contributor

@arteam arteam commented May 17, 2024

Support accessing array elements in REST YAML tests from the end using Perl-style negative indexing.

For example, in order to get the type of the latest shard, you would like something like test_index.shards.-1.type.

@arteam arteam changed the title Add support for negative indexing of array in ObjectPath [test] Add support for negative indexing of arrays in ObjectPath May 17, 2024
@arteam arteam added :Core/Infra/Core Core issues without another label :Core/Infra/CLI CLI utilities, scripts, and infrastructure and removed :Core/Infra/Core Core issues without another label labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/CLI CLI utilities, scripts, and infrastructure v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants