3
0

Add comments about new codegen

This commit is contained in:
Denis Arh 2021-07-08 15:55:05 +02:00
parent 2f2c055e9c
commit 3bf0f6f7e4
2 changed files with 13 additions and 0 deletions

1
def/README.md Normal file
View File

@ -0,0 +1 @@
See `pkg/codegen-v3/README.md`

12
pkg/codegen-v3/README.md Normal file
View File

@ -0,0 +1,12 @@
This is 3rd generation of corteza code generator
(1st was written in PHP, apologies 2nd is active and in use)
Goal for the 3rd generation is:
- improved definition structure that addresses all elements that are used for code generation (types, store, rbac)
- unify most if not all definitions (stuff in YAML files) into what you can find in /def/...
- JSON schema validation for YAML files
How to run it (temp):
```
go run pkg/codegen-v3/*.go def
```