Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(unmarshaller)!: remove asynchronous 0.3 unmarshaller API #126

Merged
merged 3 commits into from
May 7, 2020

Conversation

lance
Copy link
Member

@lance lance commented May 5, 2020

This commit removes the unnecessary use of Promises in the 0.3 unmarshaller.
There was actually no asynchronous activity happening in that function, so
there was no need to deal with Promises, and as a result testing was made
much more difficult.

This is a breaking change.

Fixes: #95

Signed-off-by: Lance Ball lball@redhat.com

This commit removes the unnecessary use of Promises in the 0.3 unmarshaller.
There was actually no asynchronous activity happening in that function, so
there was no need to deal with Promises, and as a result testing was made
much more difficult.

Fixes: cloudevents#95

Signed-off-by: Lance Ball <lball@redhat.com>
@helio-frota helio-frota self-requested a review May 5, 2020 21:33
Copy link
Contributor

@helio-frota helio-frota left a comment

Choose a reason for hiding this comment

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

LGTM.

test/bindings/http/unmarshaller_0_3_tests.js Outdated Show resolved Hide resolved
@lance lance added type/enhancement New feature or request spec/0.3 Support for spec v0.3 labels May 6, 2020
lance added 2 commits May 6, 2020 19:07
Signed-off-by: Lance Ball <lball@redhat.com>
Signed-off-by: Lance Ball <lball@redhat.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
spec/0.3 Support for spec v0.3 type/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants