Component Library Generator issueshttps://gitlab.axellero.io/tools/compogent/-/issues2021-09-28T10:05:28+06:00https://gitlab.axellero.io/tools/compogent/-/issues/1Component validation command2021-09-28T10:05:28+06:00Timur TazhibayevComponent validation commandWe need CI tool to be able to check that component project passes 'component pattern' requirements.
Those are:
- file with name `<component_code>.go`
- package `<component_code>`
- file `manifest.json` with content: `{"code":"<compone...We need CI tool to be able to check that component project passes 'component pattern' requirements.
Those are:
- file with name `<component_code>.go`
- package `<component_code>`
- file `manifest.json` with content: `{"code":"<component_code>","name":"<Component Name>"}`
- Declared Input & Output structs (IO structs)
- IO struct field names must be upper camel cased
- IO struct fields with primitive types must be pointers
- `func ComponentFuncExec(input Input) (Output, error)` must exist
If there is at least one fail for above requirements, tool must exit with error code