Go to file
Alexey Chubar be6af575c3 changed collection diff logic so it skips items where only primary ids changed 2023-10-31 19:43:38 +03:00
src cs_accessor_interface (and similar tokens) now support pre-existing C# interfaces 2023-10-19 12:54:38 +04:00
tpl changed collection diff logic so it skips items where only primary ids changed 2023-10-31 19:43:38 +03:00
.gitignore Minor tweaks 2022-12-07 17:19:24 +03:00
README.md Adding basice README 2022-12-07 17:25:44 +03:00
composer.json Bumping deps 2023-08-16 14:36:12 +03:00

README.md

This package is used for code generation of C# meta structs using Twig templates

Usage example:

$twig = \metagen_cs\get_twig();
file_put_contents('bundle.cs', 
  $twig->render("codegen_bundle.twig", 
    [
     'namespace' => 'BitGames.Autogen',
     'meta' => get_meta()
    ]
  )
);