FIX: address review round 2 on the CDC refactor

- toCdcTable accepts the source table named either table_name (platform
  bodies) or name (create DTO), so call sites pass it point-free:
  body.tables.map(toCdcTable). The identity is still derived in one place.
- PipelineTablesService declares its logger like every other maestro service
  (logger: DadosferaLogger assigned from the injected instance).

Co-Authored-By: WOZCODE <contact@withwoz.com>
This commit is contained in:
Rafael
2026-08-31 16:09:25 -03:00
co-authored by WOZCODE
parent 9457fcc85e
commit 20d3532c0f
3 changed files with 11 additions and 8 deletions
@@ -30,7 +30,7 @@ interface PlatformPipeline {
*/
@Injectable()
export class PipelineTablesService {
private logger: DadosferaLogger['logger'];
logger: DadosferaLogger;
constructor(
private readonly platformApiService: PlatformApiService,