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

Changed implementation of FlattenLens to no longer support extracting object elements #622

Merged
merged 1 commit into from Mar 21, 2023

Conversation

DRovara
Copy link
Collaborator

@DRovara DRovara commented Mar 17, 2023

If new columns are to be added from JSON object elements, this should now be done using a BasicLens above the FlattenLens. Instead, the FlattenLens now just adds one new column (name given in definition) that contains the flattened entries.

Also changed all existing test cases so that they conform to the new way of defining FlattenLenses.

…c JSON element keys (instead, a BasicLens should be added manually above it)
@DRovara DRovara requested a review from bcogrel March 17, 2023 11:13
@bcogrel bcogrel added this to the v5.1.0 milestone Mar 21, 2023
@bcogrel bcogrel marked this pull request as ready for review March 21, 2023 16:39
@bcogrel bcogrel merged commit e1d32f1 into version5 Mar 21, 2023
48 checks passed
@bcogrel bcogrel deleted the feature/flatten-lens-refactoring branch March 21, 2023 16:42
DRovara pushed a commit that referenced this pull request Jul 12, 2023
Changed implementation of FlattenLens to no longer support extracting object elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants