Bugfix: Generated code imports UniverseDataCrudService but only Base...

Documentation for Sessions

🐛 Bugfix: Generated code imports UniverseDataCrudService but only Base...

Date: 2026-03-23
Time: 16:26:55 UTC
Session: gspace1-261.4
Agent: angular
Confidence: 98%
Status: ✅ Documented


📋 Decision Context

Question:

Generated code imports UniverseDataCrudService but only BaseCrudApiService exists

Task: S257: Platform generation pipeline fixes


🎯 Decision Made

Chosen:

Added re-export alias in both real module-base (index.ts) and preview stub. export { BaseCrudApiService as UniverseDataCrudService }.

Options Considered:


💭 Reasoning

Template-registry.service.ts generates code with extends UniverseDataCrudService<T> but the actual class is BaseCrudApiService. Without the alias, generated code fails to compile in both preview and production.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation