mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
QQQ-21 update qqq-backend-core for process function->step refactor
This commit is contained in:
@ -181,8 +181,8 @@
|
||||
</module>
|
||||
-->
|
||||
<module name="OverloadMethodsDeclarationOrder"/>
|
||||
<module name="VariableDeclarationUsageDistance"/>
|
||||
<!--
|
||||
<module name="VariableDeclarationUsageDistance"/>
|
||||
<module name="CustomImportOrder">
|
||||
<property name="sortImportsInGroupAlphabetically" value="true"/>
|
||||
<property name="separateLineBetweenGroups" value="true"/>
|
||||
|
@ -384,9 +384,10 @@ public class QPicoCliImplementation
|
||||
subCommandLine.getOut().format(" %s: %s\n", outputField.getLabel(), result.getValues().get(outputField.getName()));
|
||||
}
|
||||
|
||||
if(result.getError() != null)
|
||||
if(result.getException().isPresent())
|
||||
{
|
||||
subCommandLine.getOut().println("Process Error message: " + result.getError());
|
||||
// todo - user-facing, similar to javalin
|
||||
subCommandLine.getOut().println("Process Error message: " + result.getException().get().getMessage());
|
||||
}
|
||||
}
|
||||
catch(Exception e)
|
||||
|
@ -169,7 +169,7 @@ public class TestUtils
|
||||
.withCode(new QCodeReference()
|
||||
.withName(MockBackendStep.class.getName())
|
||||
.withCodeType(QCodeType.JAVA)
|
||||
.withCodeUsage(QCodeUsage.FUNCTION)) // todo - needed, or implied in this context?
|
||||
.withCodeUsage(QCodeUsage.BACKEND_STEP)) // todo - needed, or implied in this context?
|
||||
.withInputData(new QFunctionInputMetaData()
|
||||
.withRecordListMetaData(new QRecordListMetaData().withTableName("person"))
|
||||
.withFieldList(List.of(
|
||||
|
Reference in New Issue
Block a user