Skip to content

Conversation

@slinkydeveloper
Copy link
Member

Because CloudEventUtils now contains utilities useful to deal with conversions, often useful for end users of the sdk (look at mapData), I think it's reasonable to make it more visible and push it in the main package cloudevents-core.

Also:

  • Renamed CloudEventUtils#toVisitable to CloudEventUtils#toReader
  • Added CloudEventUtils#toEvent methods to convert a CloudEventReader to a CloudEvent

Signed-off-by: Francesco Guardiani francescoguard@gmail.com

@slinkydeveloper slinkydeveloper added the enhancement New feature or request label Nov 11, 2020
@slinkydeveloper slinkydeveloper added this to the 2.0.0.CR1 milestone Nov 11, 2020
Copy link

@aliok aliok left a comment

Choose a reason for hiding this comment

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

/lgtm

Renamed CloudEventUtils#toVisitable to CloudEventUtils#toReader
Added CloudEventUtils#toEvent

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@slinkydeveloper slinkydeveloper merged commit 3440823 into cloudevents:master Nov 13, 2020
@slinkydeveloper slinkydeveloper deleted the utils branch November 13, 2020 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants