Skip to content

Commit a64cd7b

Browse files
committed
docs: require generated package aliases
1 parent d2ba677 commit a64cd7b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

skills/goa-service-designer/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ implementation files and does not overwrite existing custom implementation later
4343
need to change, edit the design first and regenerate.
4444
- Never patch generated files, OpenAPI output, protobuf output, or generated clients to hide a stale
4545
design.
46+
- Import generated packages with explicit aliases prefixed by `gen`, such as `genfront`,
47+
`gendefinitions`, or `genruns`, so generated Goa contracts are recognizable at call sites.
4648
- Put boundary validation in Goa. Use `Required`, `Enum`, `Format`, `Pattern`, `Minimum`,
4749
`Maximum`, `MinLength`, `MaxLength`, defaults, security fields, and explicit transport mappings in
4850
the design.

0 commit comments

Comments
 (0)