MohamedBeydoun / atlas

An express-typescript code generator
Apache License 2.0
6 stars 0 forks source link

Unable to generate models with array types #33

Closed ValerianClerc closed 4 years ago

ValerianClerc commented 4 years ago

Note: this is on MacOS

Input:

atlas generate model datum -f regionId=string,nodeId=string,signalCounts=[string]

Output:

Error: Unknown type: [string

Usage:
  atlas generate model [flags] [name]

Flags:
  -f, --fields stringToString   Specify field names and types e.g. name=string,friends=[string] (default [])
  -h, --help                    help for model

Global Flags:
      --config string   config file (default is $HOME/.atlas.yaml)

Unknown type: [string