Imports in Fern Definition

Imports allow you to reference types and errors from other files.

person.yml
1types:
2 Person: ...
family.yml
1imports:
2 person: ./path/to/person.yml
3types:
4 Family:
5 properties:
6 people: list<person.Person> # use an imported type

Note that you can only import files that exist in your Fern Definition (i.e., in the same definition/ folder).