Skip to content

Conversation

@pranav-bhatt
Copy link
Contributor

improved API call for cloudevents-sdk-reqwest, replacing response_to_event() and event_to_request()

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
@slinkydeveloper
Copy link
Member

Can you remove from this PR the changes to cloudevents-sdk-actix-web?

@slinkydeveloper slinkydeveloper added this to the 0.2 milestone Jun 8, 2020
@pranav-bhatt
Copy link
Contributor Author

pranav-bhatt commented Jun 8, 2020

Can you remove from this PR the changes to cloudevents-sdk-actix-web?

Done!

Also, should I remove the old function call?

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
…into improve_api

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
Copy link
Member

@slinkydeveloper slinkydeveloper left a comment

Choose a reason for hiding this comment

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

Minor nits and lgtm

I'm fine with async-trait, i've tried locally and using a concrete type it's just too hard

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
Copy link
Member

@slinkydeveloper slinkydeveloper left a comment

Choose a reason for hiding this comment

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

convert the pr to ready to review

@slinkydeveloper
Copy link
Member

You need to translate the example that uses reqwest to use these new apis

Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
@pranav-bhatt pranav-bhatt marked this pull request as ready for review June 22, 2020 11:48
Signed-off-by: Pranav Bhatt <adpranavb2000@gmail.com>
@slinkydeveloper slinkydeveloper self-requested a review June 22, 2020 14:24
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.

2 participants