chore: further suggestions for workflow lint

This commit is contained in:
Gregor Kleen 2020-12-06 20:42:05 +01:00
parent 8c3b334045
commit 403dc37f9a

View File

@ -44,11 +44,11 @@ instance Exception WorkflowGraphLinterIssue where
lintWorkflowGraph :: forall fileid userid. WorkflowGraph fileid userid -> Maybe (NonNull (Set WorkflowGraphLinterIssue))
lintWorkflowGraph graph = fromNullable . Set.fromList $ concatMap ($ graph)
[ checkEdgesForUnknownGraphNodeLabel
, checkFormPayloadVisibleInTargetNode
, checkFormPayloadVisibleInTargetNode -- TODO: Satisfiability of automatic edges?
, finalMatchesOutgoingEdges
, checkUndefinedFieldOrder
, checkNodeUnreachable
, checkNodeUnfinalizable
, checkNodeUnreachable -- TODO: Satisfiability of automatic edges
, checkNodeUnfinalizable -- TODO: Satisfiability of automatic edges
-- Future ideas:
-- - WorkflowRolePayloadReference for unknown payload
-- - wgePayloadRestriction for unknown payload