sid88in / serverless-appsync-plugin

serverless plugin for appsync
MIT License
951 stars 189 forks source link

Validation does not match types ( request and response in resolverConfig ) #598

Open simonmeyerrr opened 1 year ago

simonmeyerrr commented 1 year ago

This type defines that request can be a string or false:

export type BaseResolverConfig = {
  [...]
  request?: string | false;
  response?: string | false;
  [...]
};

But validation of the config only accepts strings:

  resolverConfig: {
      type: 'object',
      properties: {
        [...]
        request: { type: 'string' },
        response: { type: 'string' },
        [...]
      },
   }