triggermesh / aws-event-sources

Knative event sources for AWS services
Apache License 2.0
60 stars 14 forks source link

schemas: Permit null values for SQS msg attributes #337

Closed antoineco closed 3 years ago

antoineco commented 3 years ago

I noticed our JSON schema for the com.amazon.sqs.message type didn't validate against the sample event I shared in #336, because some fields of the message attributes values are expected to be null (e.g. BinaryValue is null if the attribute is not a binary data type).