I have a simple setup with 2 zmodel files, schema.zmodel that imports types from base.zmodel.
The following will error out:
import "base"
model SomeModel extends BaseType {
// ...
// Could not resolve reference to ReferenceTarget named 'some_field_from_base_type'.zmodel-v3
@@index([some_field_from_base_type])
}
If the BaseType is defined in the same file - the reference works.
version: 3.0.0-beta.8