Skip to content

Initialize CloudEvent.extensions #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2020
Merged

Initialize CloudEvent.extensions #192

merged 1 commit into from
May 28, 2020

Conversation

aliok
Copy link
Contributor

@aliok aliok commented May 28, 2020

Fixes #191

@aliok
Copy link
Contributor Author

aliok commented May 28, 2020

cc @lance
Can't really understand why things fail here

@lance
Copy link
Member

lance commented May 28, 2020

@aliok the failed check is due to this #190. Not your problem. Would you mind adding a simple test for this here? https://github.com/cloudevents/sdk-javascript/blob/master/test/cloud_event_test.js#L87

Signed-off-by: Ali Ok <aliok@redhat.com>
@aliok
Copy link
Contributor Author

aliok commented May 28, 2020

@lance thanks for the feedback. added the test now

Copy link
Member

@lance lance left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix!

@lance lance merged commit 0710166 into cloudevents:master May 28, 2020
@aliok aliok deleted the patch-1 branch May 28, 2020 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sdk 2 - Cannot emit events that don't have any extensions
2 participants