File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ function backpopulateHook<TSlug extends keyof Config['collections']>({
2929
3030 let relatedDocs : PaginatedDocs < Config [ 'collections' ] [ TSlug ] >
3131 if ( Array . isArray ( field . relationTo ) ) {
32- // @todo BP1 handle backpopulation for polymorphic relationships
32+ // @todo # BP1 handle backpopulation for polymorphic relationships
3333 throw new Error ( 'polymorphic relationship backpopulation not implemented' )
3434 } else if ( field . relationTo === collection . config . slug ) {
3535 relatedDocs = await payload . find ( {
3636 collection : relationFrom ,
3737 pagination : false ,
3838 where : {
3939 [ relationField ] : {
40- // @todo BP3 handle relationships with hasMany: false
40+ // @todo # BP3 handle relationships with hasMany: false
4141 contains : data . id ,
4242 } ,
4343 } ,
You can’t perform that action at this time.
0 commit comments