From a14ed78e25d5063a335bc1925e4b3547d65663b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 14 Apr 2025 11:01:03 +0200 Subject: [PATCH] [wip] temporary changie --- .changes/unreleased/DX-20250407-121010.yaml | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .changes/unreleased/DX-20250407-121010.yaml diff --git a/.changes/unreleased/DX-20250407-121010.yaml b/.changes/unreleased/DX-20250407-121010.yaml new file mode 100644 index 000000000..873e44880 --- /dev/null +++ b/.changes/unreleased/DX-20250407-121010.yaml @@ -0,0 +1,33 @@ +kind: DX +body: | + Rewrite exports to run them asynchronously + +changelog: | + - Add new methods to serialize data using the rector rule + - Remove all references to the Request in filters, aggregators, filters. Actually, the most frequent occurence is `$security->getUser()`. + - Refactor manually the initializeQuery method + - Remove the injection of ExportManager into the constructor of each export element: + + ````diff + + - class MyFormatter implements FormatterInterface + + class MyFormatter implements FormatterInterface, \Chill\MainBundle\Export\ExportManagerAwareInterface + { + + use \Chill\MainBundle\Export\Helper\ExportManagerAwareTrait; + + - public function __construct(private ExportManager $exportmanager) {} + + public function MyMethod(): void + { + - $this->exportManager->getFilter('alias'); + + $this->getExportManager()->getFilter('alias'); + } + } + ``` + + + +time: 2025-04-07T12:10:10.682561327+02:00 +custom: + Issue: "" + SchemaChange: Add columns or tables