Skip to content

Commit

Permalink
Quick fix for non-required input parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
wederbn committed Nov 15, 2024
1 parent 4e15df9 commit 0e0042f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ protected boolean hasCompleteMatching(final Collection<TNodeTemplate> nodesForMa
LOG.debug("Required input parameters: {}", inputParamSize);
LOG.debug("Matched input parameters: {}", matching.inputMatching.size());
LOG.debug("Matching? {}", matching.inputMatching.size() == inputParamSize);
return matching.inputMatching.size() == inputParamSize;
// TODO: refactor to check that all required input parameters are available
return matching.inputMatching.size() >= inputParamSize;
}

protected OperationMatching createPropertyToParameterMatching(final Collection<TNodeTemplate> nodesForMatching,
Expand Down

0 comments on commit 0e0042f

Please sign in to comment.