-
Notifications
You must be signed in to change notification settings - Fork 991
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
fix(search): Support indexing array paths #2074
Conversation
686ff32
to
0392f42
Compare
Signed-off-by: Vladislav Oleshko <[email protected]>
0392f42
to
ea3dabd
Compare
Signed-off-by: Vladislav Oleshko <[email protected]>
StringList out; | ||
for (auto element : path_res.array_range()) { | ||
size_t start = buf_.size(); | ||
buf_ += element.as_string(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could invalidate all previous string_view
s in out
, no?
Is there anything in line 124 that prevents growing again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Vladislav Oleshko <[email protected]>
9bb8273
to
5e11093
Compare
Signed-off-by: Vladislav Oleshko <[email protected]>
Hey @dranikpg, I'm not sure if you're ready for another review? |
Signed-off-by: Vladislav Oleshko <[email protected]>
bde121c
to
6ca1643
Compare
Fixes one of the issues discussed in #1995 with arrays not being indexed