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

add includeOtherProperties to transposeObjectArray #32

Merged
merged 4 commits into from
Jan 14, 2025

Conversation

abrantesarthur
Copy link
Member

@abrantesarthur abrantesarthur commented Jan 14, 2025

  • adds includeOtherProperties option to the transposeObjectArray function. It determines whether to include non-transposed properties in the returned result.

Related Issues

  • [none]

Security Implications

[none]

System Availability

[none]

Copy link
Member

@blake-transcend blake-transcend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, pls update the pr description though

/** Options for how to transpose the array */
options?: {
/** Whether to include non-tranposed properties in the final result */
includeOtherProperties?: boolean;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to rename this if you can think of a better name lol

@abrantesarthur abrantesarthur merged commit d7e23a3 into main Jan 14, 2025
11 checks passed
@abrantesarthur abrantesarthur deleted the transposeObjectArray branch January 14, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants