Skip to content

feat(plugin-import-export): add custom toCSV function on fields #12533

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DanRibbens
Copy link
Contributor

@DanRibbens DanRibbens commented May 23, 2025

This makes it possible to add custom logic into how we map the document data into the CSV data on a field-by-field basis.

TODO:
[] add type declartion to type the function arguments for ToCSVFunction
[] add depth: 1 so that relationship fields get the id value
[] prevent depth 1 from adding all subfields of a relationship to the csv result
[] more tests
[] docs

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.

1 participant