code: func (c *WorkItemCommentsController) Relations(ctx *app.RelationsWorkItemCommentsContext) error {
  	offset, limit := computePagingLimits(ctx.PageOffset, ctx.PageLimit)
  	err := application.Transactional(c.db, func(appl application.Application) error {
  		wi, err := appl.WorkItems().LoadByID(ctx, ctx.WiID)
  		if err != nil {
  			return goa.ErrNotFound(err.Error())
  		}
  		comments, tc, err := appl.Comments().List(ctx, wi.ID, &offset, &limit)
  		count := int(tc)
  		if err != nil {
  			return goa.ErrInternal(err.Error())
  		}
  		_ = wi
  		_ = comments
  		res := &app.CommentRelationshipList{}
  		res.Meta = &app.CommentListMeta{TotalCount: count}
  		res.Data = ConvertCommentsResourceID(ctx.Request, comments)
  		res.Links = CreateCommentsRelationLinks(ctx.Request, wi)
  		return ctx.OK(res)
  	})
  	if err != nil {
  		return jsonapi.JSONErrorResponse(ctx, err)
  	}
  	return nil
  }
docs: // Relations runs the relation action.
  // TODO: Should only return Resource Identifier Objects, not complete object (See List)