Skip to content

Commit

Permalink
relations & extraQuery support
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilfronczak committed Dec 8, 2022
1 parent 234b2a6 commit 5607b2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mikroorm-nested-set",
"version": "1.1.0",
"version": "1.1.1",
"types": "src/index.d.ts",
"description": "Package for MikroORM nested set feature",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/repository/nested-set-subject.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export abstract class NestedSetSubjectRepository<T extends NestedSetSubjectAbstr
relationName: string, // 'b.tags'
alias: string // 't'
}[]
}) : Promise<NestedSetSubjectAbstract<T>> {
} = {}) : Promise<NestedSetSubjectAbstract<T>> {
const rootsQuery = this.createQueryBuilder('root')
.where({
parent: null
Expand Down

0 comments on commit 5607b2c

Please sign in to comment.