Open idandagan1 opened 3 years ago
A better workaround is probably to .join(',')
your ids to get a comma-separated string as shown here: https://github.com/feathersjs-ecosystem/feathers-objection#composite-primary-keys
But yeah, the actual solution is probably to have this lib override the default feathers id type.
Hi, I'm using typescript with feathers-objection. And trying to make a GET request with composite-key like in the readme example:
But I get type error:
Because feathers define the id to be
type Id = number | string;
As a workaround I'm currently using find method instead of get. Any suggestions?
10x