需要返回与api资源的关系

i have Children Relation i need it to return with the respond it will be empty i lnow but i need it

public function store(Category $category, Path $path,$level,Task $task,Request $request)
{
    \Auth::loginUsingId(1);

    $this->validate($request ,[
        'body' =>'required|max:5000',
    ]);

    $comment = $task->comments()->make([
        'body' => $request->body
    ]);

    $request->user()->comments()->save($comment);

    return new CommentResource($comment);
}