-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
When I have soft delete enabled models with typescript, I have to do this:
type SoftDeleteQueryBuilder = QueryBuilder<PathwayModelAsEditor> & {
includeDeleted: () => void
}to be able to call includeDeleted on the query builder.
It would be nice if this package had it's own typings for query builder so we wouldn't have to extend the objection one inline in our own models.
lucas-barros and sammarks