Closed tttaisgt closed 9 months ago
Sorry for the late answer, it looks like the same issue as #178 :
The v0.20 of this plugin is not compatible with serverless-appsync-plugin
v2
We just released a new beta version that added support for node >= 18 and that should fix your issue
Describe the bug I'm using
serverless-appsync-simulator
withserverless-offline
andserverless-appsync-plugin
to simulate appsync(graphql) in local envbut after updated
serverless-offline
fromv7.0.0
to thelatest
version(because I upgrade nodejs version from 14.x->18.x and the old version ofserverless-offline
not support it), the simulator not working anymore, all the response isnull
and sometimes cause an errorTo Reproduce
sls offline start --host 0.0.0.0
Expected behavior It can work normally
Screenshots
Additional context Sample Code
file: controller
file: data.graphql
type Data { id:Int name:String type:String created_at:AWSDateTime deleted:Boolean updated_at:AWSDateTime }