parentClosePolicy: formatEnum()

in server/middleware/grpc-client/format-response/format-response-describe-workflow.js [88:98]


          parentClosePolicy: formatEnum(
            parentClosePolicy,
            'PARENT_CLOSE_POLICY'
          ),
          runID: workflowExecution?.runId || null,
          workflowID: workflowExecution?.workflowId || null,
        })
      )
    : null,
  pendingDecision: pendingDecision
    ? {