backend api, swagger, tooling, frontend skeleton
This commit is contained in:
14
doc_dev/11_etape3_ent_gen.md
Normal file
14
doc_dev/11_etape3_ent_gen.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Etape 3 - Generation Ent
|
||||
|
||||
## Objectif
|
||||
Generer le code Ent a partir des schemas.
|
||||
|
||||
## Commande utilisee
|
||||
```
|
||||
env GOPATH=/tmp/go GOMODCACHE=/tmp/go/pkg/mod GOCACHE=/tmp/go/cache go run -mod=mod entgo.io/ent/cmd/ent generate ./internal/data/ent/schema --target ./internal/data/ent
|
||||
```
|
||||
|
||||
## Notes
|
||||
- Mise a jour de Ent vers v0.14.5 pour compatibilite.
|
||||
- Ajout d'un `doc.go` pour initialiser le package cible.
|
||||
- Generation reussie apres correction des edges obligatoires.
|
||||
Reference in New Issue
Block a user