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
This would allow us to remove these functions, especially the somewhat dangerous casting .([]*db.Competence), because the dataloader -> thunk() is already returning the correct type.
The v7 of the library allows using generics in the key / result. We should consider upgrading to it.
Definition in v5 (current):
Definition in v7:
This would allow us to remove these functions, especially the somewhat dangerous casting
.([]*db.Competence)
, because the dataloader ->thunk()
is already returning the correct type.The text was updated successfully, but these errors were encountered: