Open Will-Mann-16 opened 7 months ago
Describe the bug The new beta version of the plugin doesn't support the code / APPSYNC_JS property
code
APPSYNC_JS
To Reproduce
1.0.0-beta.1
Expected behavior
Query.codeQuery: dataSource: DataSource code: 'src/resolvers/queries/codeQuery.ts' kind: UNIT
Output from console:
{ kind: 'UNIT', fieldName: 'codeQuery', typeName: 'Query', dataSourceName: 'DataSource', requestMappingTemplate: '## Direct lambda request\n' + ' {\n' + ' "version": "2018-05-29",\n' + ' "operation": "Invoke",\n' + ' "payload": $utils.toJson($context)\n' + ' }\n' + ' ', responseMappingTemplate: '## Direct lambda response\n' + ' #if($ctx.error)\n' + ' $util.error($ctx.error.message, $ctx.error.type, $ctx.result)\n' + ' #end\n' + ' $util.toJson($ctx.result)\n' + ' ' },
And the field resolves to null (which makes sense 😅 )
Additional context Appreciate that this is a beta build but as APPSYNC_JS is the recommended runtime of appsync in the documentation.
appsync
Great work with the upgrade so far! Let me know if I can help with this.
Describe the bug The new beta version of the plugin doesn't support the
code
/APPSYNC_JS
propertyTo Reproduce
1.0.0-beta.1
and add a new resolver with thecode
property.Expected behavior
Output from console:
And the field resolves to null (which makes sense 😅 )
Additional context Appreciate that this is a beta build but as
APPSYNC_JS
is the recommended runtime ofappsync
in the documentation.Great work with the upgrade so far! Let me know if I can help with this.