chore: further suggestions for workflow lint
This commit is contained in:
parent
8c3b334045
commit
403dc37f9a
@ -44,11 +44,11 @@ instance Exception WorkflowGraphLinterIssue where
|
|||||||
lintWorkflowGraph :: forall fileid userid. WorkflowGraph fileid userid -> Maybe (NonNull (Set WorkflowGraphLinterIssue))
|
lintWorkflowGraph :: forall fileid userid. WorkflowGraph fileid userid -> Maybe (NonNull (Set WorkflowGraphLinterIssue))
|
||||||
lintWorkflowGraph graph = fromNullable . Set.fromList $ concatMap ($ graph)
|
lintWorkflowGraph graph = fromNullable . Set.fromList $ concatMap ($ graph)
|
||||||
[ checkEdgesForUnknownGraphNodeLabel
|
[ checkEdgesForUnknownGraphNodeLabel
|
||||||
, checkFormPayloadVisibleInTargetNode
|
, checkFormPayloadVisibleInTargetNode -- TODO: Satisfiability of automatic edges?
|
||||||
, finalMatchesOutgoingEdges
|
, finalMatchesOutgoingEdges
|
||||||
, checkUndefinedFieldOrder
|
, checkUndefinedFieldOrder
|
||||||
, checkNodeUnreachable
|
, checkNodeUnreachable -- TODO: Satisfiability of automatic edges
|
||||||
, checkNodeUnfinalizable
|
, checkNodeUnfinalizable -- TODO: Satisfiability of automatic edges
|
||||||
-- Future ideas:
|
-- Future ideas:
|
||||||
-- - WorkflowRolePayloadReference for unknown payload
|
-- - WorkflowRolePayloadReference for unknown payload
|
||||||
-- - wgePayloadRestriction for unknown payload
|
-- - wgePayloadRestriction for unknown payload
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user