Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

do list does not work properly with path wildcards #119

Closed
TobiasNx opened this issue Jan 31, 2022 · 7 comments · Fixed by #142
Closed

do list does not work properly with path wildcards #119

TobiasNx opened this issue Jan 31, 2022 · 7 comments · Fixed by #142
Assignees

Comments

@TobiasNx
Copy link
Collaborator

TobiasNx commented Jan 31, 2022

See here

Should be:

{
  "coll" : [ {
    "feldtest" : "true",
    "a" : "Dog"
  },{
    "feldtest" : "true",
    "a" : "Ape"
  },{
    "feldtest" : "true",
    "a" : "Giraffe"
  }, {
    "feldtest" : "true",
    "a" : "Crocodile"
  },
 {
    "feldtest" : "true",
    "a" : "Human"
  },
 {
    "feldtest" : "true",
    "a" : "Bird"
  }
 ]
}
@TobiasNx TobiasNx changed the title do do list does not work properly Jan 31, 2022
TobiasNx added a commit to TobiasNx/fix-FunctionalReview-Testing that referenced this issue Jan 31, 2022
@TobiasNx
Copy link
Collaborator Author

do list-Test: TobiasNx/fix-FunctionalReview-Testing@67375bf

@blackwinter blackwinter changed the title do list does not work properly do list does not work properly with path wildcards Jan 31, 2022
@blackwinter
Copy link
Member

Turned example into unit test.

@fsteeg
Copy link
Member

fsteeg commented Feb 3, 2022

Functional review: @TobiasNx
Code review: @fsteeg

@fsteeg fsteeg moved this to Ready in Metafacture Feb 3, 2022
TobiasNx added a commit to TobiasNx/fix-FunctionalReview-Testing that referenced this issue Feb 8, 2022
@TobiasNx
Copy link
Collaborator Author

TobiasNx commented Feb 8, 2022

This does also not work with pipes.

@TobiasNx TobiasNx changed the title do list does not work properly with path wildcards do list does not work properly with path wildcards Feb 8, 2022
blackwinter added a commit that referenced this issue Feb 10, 2022
Previously, when a wildcard matched multiple fields of which at least one was an array, `Hash.get()` returned a nested array (e.g., `[[Mary, University], Max]`).

Now, matched arrays are flattened (i.e., `[Mary, University, Max]`).
@blackwinter blackwinter linked a pull request Feb 10, 2022 that will close this issue
@blackwinter blackwinter moved this from Ready to Review in Metafacture Feb 10, 2022
@blackwinter blackwinter removed their assignment Feb 10, 2022
@TobiasNx
Copy link
Collaborator Author

@blackwinter
Copy link
Member

But the changes in [...] are irritating.

See discussion in #142.

@blackwinter
Copy link
Member

@TobiasNx approved in #142 (comment).

Repository owner moved this from Review to Done in Metafacture Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants