Skip to content

v4.3.1

Choose a tag to compare

@github-actions github-actions released this 10 Nov 01:49
· 26 commits to main since this release

Fixes

  • In a custom query builder method, the methods of the query builder that withGraphFetched<RM, E>() and withGraphJoined<RM, E>() return couldn't be called: this.withGraphFetched<MessageModel, 'user'>('user').modifyGraph<UserModel>('user', ...) failed with TS2349 and TS7006. WithGraphQueryBuilder was a conditional type, which has no members while this is generic. It's now always a rebound query builder, with the conditions in its type arguments, like the builders that first() and findById() return there. The types of withGraphFetched() calls without type arguments are unchanged. Reported from chat-api.