You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks as always for maintaining this project! Wanted to ask for an enhancement. We sometimes reference field types across entity definitions (not necessarily referencing a distinct type declaration). For example:
entityMyEntity {
Field1:String; // We will reference this fieldField2:Integer;
}
entityTypeRefEntity {
Field3:MyEntity:Field1; // Should resolve to `String` as type
}
Here is an example of where this currently fails:
The error is _a.includes is not a function since _a is not a string as expected.
I'm using [email protected] - not sure if that is the problem? As a workaroudn I will try to explicitly type these.
The text was updated successfully, but these errors were encountered:
Hi,
Thanks as always for maintaining this project! Wanted to ask for an enhancement. We sometimes reference field types across
entity
definitions (not necessarily referencing a distincttype
declaration). For example:Here is an example of where this currently fails:
The error is
_a.includes is not a function
since_a
is not a string as expected.I'm using
[email protected]
- not sure if that is the problem? As a workaroudn I will try to explicitly type these.The text was updated successfully, but these errors were encountered: