You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs: Fix link to the CloudEvents spec
* fix: Use CloudEvents v1.0 in CloudEventsContext and tests
CloudEvents v1.0 has renamed `schemaurl` to `dataschema` and `contenttpye` to `datacontenttype` and added subject. `CloudEventsContext` is updated with the v1.0 attributes.
CloudEvents tests are also updated to use valid values.
Resolves: #132, #133
* fix: Remove the dataschema attribute
The current value is not the true dataschema of the payload.
The CloudEvents test uses invalid dummy data for it's CE payload.
For example,
'ce-specversion': 'testSpecversion',
is not valid astestSpecversion
is not a valid version.https://github.com/GoogleCloudPlatform
/functions-framework-nodejs/blob/master/test/invoker.ts#L186
The text was updated successfully, but these errors were encountered: