Skip to content

Conversation

@jcrossley3
Copy link
Contributor

Fixes #130

I'm not entirely sure why this works, but the compiler seems to like it! :D

The example is intentionally as simple as it gets, but a "real" app should probably return Result<Event, Error> from its handlers.

Fixes cloudevents#130

I'm not entirely sure why this works, but the compiler seems to like
it! :D

The example is intentionally as simple as it gets, but a "real" app
should probably return Result<Event, Error> from its handlers.

Signed-off-by: Jim Crossley <[email protected]>
@slinkydeveloper slinkydeveloper merged commit dc81cf6 into cloudevents:master Jun 29, 2021
@slinkydeveloper slinkydeveloper added this to the 0.4 milestone Jun 29, 2021
@jcrossley3 jcrossley3 deleted the actix-impls branch July 7, 2021 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restructure project to enable Event to impl actix_web::{FromRequest, Responder}

2 participants