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
Throws a type error, "string[] is not assignable to string", but according to the feathers-objection docs, this is how you use composite primary keys.
Unfortunately, I think fixing this also requires a change in feathers. It looks like the upstream feathers AdapterService class doesn't allow a way to override its options object type. So, even if we did
The actual fix is probably to make the feathers AdapterService accept an additional type parameter: AdapterService<T = any, S = ServiceOptions>, or to change ServiceOptions, but I think that might be more breaking.
The text was updated successfully, but these errors were encountered:
Throws a type error, "
string[]
is not assignable tostring
", but according to the feathers-objection docs, this is how you use composite primary keys.Unfortunately, I think fixing this also requires a change in feathers. It looks like the upstream feathers
AdapterService
class doesn't allow a way to override itsoptions
object type. So, even if we didWe would still get a type error here:
The actual fix is probably to make the feathers
AdapterService
accept an additional type parameter:AdapterService<T = any, S = ServiceOptions>
, or to changeServiceOptions
, but I think that might be more breaking.The text was updated successfully, but these errors were encountered: