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
That's true, but it's a bit difficult to type properly for nested relationships with where. I'll have a fresh look though.
Until then, you can use the satisfies keyword to add some inline type safety, like:
neogma/src/Queries/Where/Where.ts
Lines 109 to 116 in da28ecc
The key of
WhereParamsI
is astring
type. This can cause errors that are difficult to debug. For example:If the model of user groups has a property called
groupName
then this will fail only at runtime whenfindRelationships
returns zero results.It would be better if the key of
WhereParamsI
were typed to be the keys of the related node properties.The text was updated successfully, but these errors were encountered: