You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where shops_with_orders_report is an "alias" that only exists in the application
and the resource that will be used is the shops
and a custom buildField will be provided and will decorate the shops data with extra gql { orders_aggregate { count }}
The text was updated successfully, but these errors were encountered:
Context:
When doing CSV export
It's quite common to have business requirements, to add some aggregate/external fields.
ie
I tried several approaches and one i'd like to enable
<ExportButton resource="shops_with_orders_report" />
+buildField
where
shops_with_orders_report
is an "alias" that only exists in the applicationand the
resource
that will be used is theshops
and a custom
buildField
will be provided and will decorate the shops data with extragql { orders_aggregate { count }}
The text was updated successfully, but these errors were encountered: