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

Add flatten() Fix function. #244

Merged
merged 3 commits into from
Jul 15, 2022
Merged

Add flatten() Fix function. #244

merged 3 commits into from
Jul 15, 2022

Conversation

blackwinter
Copy link
Member

@blackwinter blackwinter commented Jul 12, 2022

Implements Catmandu's flatten() function.

Resolves #122.

@blackwinter blackwinter removed the request for review from TobiasNx July 12, 2022 13:14
@fsteeg fsteeg assigned blackwinter and unassigned fsteeg Jul 14, 2022
@TobiasNx
Copy link
Collaborator

TobiasNx commented Jul 15, 2022

+1

While testing I found a strange behavior with regard to the array-marker
7a56d32
The variation of this integration test had worked even without the array-marker at the end of zoo.

Don't know if this is connected to flatten or a general issue.

blackwinter added a commit that referenced this pull request Jul 15, 2022
Nested arrays would always be flattened: #244 (comment)
@blackwinter
Copy link
Member Author

Don't know if this is connected to flatten or a general issue.

No, it's a general issue. It even worked with nothing() as the Fix.

Metafix wasn't able to emit nested arrays properly (see #248 for a fix).

@blackwinter blackwinter merged commit 2bad499 into master Jul 15, 2022
@blackwinter blackwinter deleted the addFlattenFunction branch July 15, 2022 11:49
blackwinter added a commit to hbz/limetrans that referenced this pull request Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add flatten-function
3 participants