Adding nested groups in HttpApiGroup?

Hi, how can I achive something like this?
export const CommentGroup = HttpApiGroup.make("comment")
  .prefix("/comment")
  .add(AddComment)
  .add(GetComment)
  .add(UpdateComment)
  .add(DeleteComment)

export const PostGroup = HttpApiGroup.make("post")
  .prefix("/post")
  .add(AddPost)
  .add(GetPost)
  .add(UpdatePost)
  .add(DeletePost)
  .addGroup(CommentGroup) // <- ?
Was this page helpful?