serverless-appsync-simulator icon indicating copy to clipboard operation
serverless-appsync-simulator copied to clipboard

Support of enhanced subscription filtering

Open vinodsr opened this issue 2 years ago • 2 comments

Can you please provide support for enhanced filtering in subscription as per https://docs.aws.amazon.com/appsync/latest/devguide/aws-appsync-real-time-enhanced-filtering.html#aws-appsync-real-time-enhanced-filtering-defining-from-client

When i tried to implement it , getting the error

Unable to convert 
$extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($util.parseJson($ctx.args.filter)))

null to class com.amazonaws.deepdish.transform.model.lambda.LambdaVersionedConfig.

vinodsr avatar Jun 08 '22 11:06 vinodsr

Hi,

This is handled by the amplify-appsync-simulator package (dependency of this plugin).

This plugin might need upgrading to the latest version.

Could you try with the latest version of amplify-appsync-simulator and see if that fixes the problem?

bboure avatar Jun 11 '22 08:06 bboure

according to the changelog it does not look like it's something that has been fixed

it would not hurt upgrading though.

bboure avatar Jun 11 '22 08:06 bboure