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
... and provides the option to change the type of linkedPerson to string | null, which is wrong, because I have the option array enabled. See https://typeorm.io/entities#column-options
It should not report on this column. It should instead report on this property, where the property array is enabled, but the type is no array:
Thanks for using the library! I'm not a TypeORM power user, so I don't know all of the @Column options. I'll add an extra check for the array field, to handle this case.
I can fully understand that you built the library for what was needed at the time, and the more appreciate you taking the time to help extending it for my use-case. Thanks very much for the quick update 🎉
The rule currently reports at a property defined as:
... and provides the option to change the type of
linkedPerson
tostring | null
, which is wrong, because I have the optionarray
enabled. See https://typeorm.io/entities#column-optionsIt should not report on this column. It should instead report on this property, where the property
array
is enabled, but the type is no array:The text was updated successfully, but these errors were encountered: