Skip to content

Conversation

@lance
Copy link
Member

@lance lance commented Nov 2, 2020

To make it possible for functions to easily act as both HTTP and CloudEvent
handler it's better to have any potential data as the second parameter.

This change also makes use of a new bit of the cloudevents API to receive an
incoming event, eliminating a transitive dependency on axios.

Fixes: #62
Fixes: knative/func#194 (when updated in thetemplate)

BREAKING CHANGE

Signed-off-by: Lance Ball [email protected]

To make it possible for functions to easily act as both HTTP and CloudEvent
handler it's better to have any potential data as the second parameter.

This change also makes use of a new bit of the cloudevents API to receive an
incoming event, eliminating a transitive dependency on axios.

Fixes: nodeshift#62

Fixes: knative/func#194 (when updated in thetemplate)

Signed-off-by: Lance Ball <[email protected]>
@lance lance requested a review from a team November 2, 2020 22:25
@lance lance self-assigned this Nov 2, 2020
@lance lance merged commit df55e8a into nodeshift:master Nov 3, 2020
@lance lance deleted the adjust-parameter-ordering branch November 3, 2020 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants