Skip to content

Enhances detection of textual content-types#444

Merged
pierDipi merged 1 commit into
cloudevents:masterfrom
JemDay:jd-issue443
Jan 31, 2022
Merged

Enhances detection of textual content-types#444
pierDipi merged 1 commit into
cloudevents:masterfrom
JemDay:jd-issue443

Conversation

@JemDay

@JemDay JemDay commented Jan 27, 2022

Copy link
Copy Markdown
Contributor

Ensures correct protobuf field usage for text based content.

Moved content-type introspection in a seprate support class.

Added unit tests to ensure introspection is correct.

Fixes #443

@JemDay JemDay changed the title Enhances detection of textual content-types ensuring appropriate Enhances detection of textual content-types Jan 27, 2022

@pierDipi pierDipi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Overall LGTM.

Comment thread formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoSupport.java Outdated
@pierDipi

Copy link
Copy Markdown
Member

protobuf field usage.

Moved content-type introspection in a seprate support class.

Added unit tests to ensure introspection is correct.

Addressed review comments

Signed-off-by: Day, Jeremy(jday) <jday@paypal.com>
@JemDay

JemDay commented Jan 28, 2022

Copy link
Copy Markdown
Contributor Author

@pierDipi - I believe I've addressed all of the comments.

@pierDipi pierDipi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, this seems a breaking change so it needs a major version bump.

@pierDipi pierDipi merged commit a4bc7a8 into cloudevents:master Jan 31, 2022
@pierDipi

Copy link
Copy Markdown
Member

Thanks for your contribution!

@JemDay JemDay deleted the jd-issue443 branch February 10, 2022 20:54
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.

Protobuf Format: Incomplete media type detection

2 participants