TriPSs / nestjs-query

Easy CRUD for GraphQL.
https://tripss.github.io/nestjs-query/
MIT License
164 stars 46 forks source link

Export to CSV #305

Open TriPSs opened 1 month ago

TriPSs commented 1 month ago

Is your feature request related to a problem? Please describe. When exporting data we now have to create endpoints for all the data types, would be easier if we, just like aggregation, can enable this.

Have you read the Contributing Guidelines?

Yes

Describe the solution you'd like a <DTO>Export method that accepts the same filters and additionally a map for the columns { field: string, headerName: string } (if not provided use field names) and format = ExportFormat where ExportFormat only accepts CSV for now.

Describe alternatives you've considered Creating a service/resolver class for each data type ourselfs.

Additional context Add any other context or screenshots about the feature request here.

manlyman29 commented 1 month ago

Is there any ETA or active work going on for this? I was actually looking for this.

TriPSs commented 1 month ago

Not yet, still want it but did not have any time for it yet.