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
// Main data model schemaexportconstcompanySchema=Type.Object({id: Type.Number()},{$id: 'Company',additionalProperties: false})// Schema for creating new entriesexportconstcompanyDataSchema=Type.Object({id: Type.Number()},{$id: 'CompanyData',additionalProperties: false})
Paginated<{ id: number }>: Can context.result even be paginated in a create hook? Type doesn't go away even if I try to disable pagination ❌
{ id: number }[]: This seems to happen even if multi: false, but that may still be correct; since the input of a single object can maybe produce an array output. ⚠️
undefined: in an around hook, this should be the only type before await next() and then it should go away after. AFAIK Feathers doesn't allow empty creates, so there will always be a result.
Activity