Use case description
It'll be nice to have stream event fully covered by schema validation
Proposed solution
Follow up to #6562, with which only schema placeholder for event was configured.
Define schema of all stream event properties
Should be done directly in: lib/plugins/aws/package/compile/events/stream/index.js:
|
// TODO: Complete schema, see https://github.com/serverless/serverless/issues/8034 |
|
this.serverless.configSchemaHandler.defineFunctionEvent('aws', 'stream', { |
|
anyOf: [{ type: 'string' }, { type: 'object' }], |
|
}); |
Use case description
It'll be nice to have
streamevent fully covered by schema validationProposed solution
Follow up to #6562, with which only schema placeholder for event was configured.
Define schema of all
streamevent propertiesShould be done directly in:
lib/plugins/aws/package/compile/events/stream/index.js:serverless/lib/plugins/aws/package/compile/events/stream/index.js
Lines 14 to 17 in d403d9c