furo checkImports #
This command will check and correct all the needed imports in the specs. These imports are needed for creating proper proto files.
If a import can not be resolved, you will get a error message which tells you the file and the field which is causing the problem.
How does the import resolving work? #
Furo will look up for type definitions as close as possible to your type (most local to least local). So types which are coming from some installed dependencies and are also defined in your project, will prefer the import from your project.
|
|
Attention: If you have a typo on a scalar type likesting
instead ofstring
, the current version of furo will not detect this as error.
furo checkImports [flags]
Options #
-h, --help help for checkImports
Options inherited from parent commands #
--config string config file (default is CWD/.furo.yaml)