Skip to main content

One post tagged with "ci-cd"

View All Tags

Code Generator Goes Production with Validation Framework

· One min read
TeaQL Code Gen
Core Contributor

The code generator evolved from a prototype into a production-ready Spring Boot generation engine.

Code Generator

Spring Boot Generation Engine

  • 26 files changed, 467 lines added
  • Templates migrated to Spring Boot STG (StringTemplate)
  • Support for lib and ZIP file imports
  • Auto-generated UserContext

Domain Model Reuse

DomainParser now supports importing domain models from local filesystem paths, ZIP archives, and remote library references.

Runtime Enhancements

Checker Validation Framework

Automatically validates domain objects before persistence to ensure data integrity:

+ SQLRepositorySchemaHelper: added checker validation (66 lines)
+ Checker: validates entity constraints before save/update

EntityDescriptor Metadata

A metadata object describing the full structure of an entity, including children, properties, and relationships.

Other Improvements

  • TypeCriteriaParser: Filter entities by type hierarchy
  • Smart IN Optimization: Single-value IN automatically becomes =, NOT IN becomes !=
  • SmartList: Supports get(index) and size()
  • GitHub Actions CI/CD: Automated publishing to GitHub Packages