Skip to content

refactor: validate cloudevent version agnostic - #311

Merged
grant merged 1 commit into
cloudevents:masterfrom
grant:grant_refactor_validate
Aug 11, 2020
Merged

grant merged 1 commit into
cloudevents:masterfrom
grant:grant_refactor_validate

Conversation

@grant

@grant grant commented Aug 11, 2020

Copy link
Copy Markdown
Member

Proposed Changes

  • Simplify CE validation

Description

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
@grant
grant requested a review from lance August 11, 2020 04:38
@grant grant self-assigned this Aug 11, 2020

@lance lance 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

@lance

lance commented Aug 11, 2020

Copy link
Copy Markdown
Member

Looks good to me. But I don't understand how it "fixes" #273 really.

I'd expect the Binary/Structured Receiver to be really easy to setup. A developer shouldn't need to know about what mode the CloudEvent is in when receiving.

This PR doesn't really have any impact on the end user experience. So maybe you can clarify what you mean here.

@lholmquist lholmquist left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

less code, less errors

but same question about how it relates to #273

@grant
grant merged commit 8ac3eb0 into cloudevents:master Aug 11, 2020
@grant
grant deleted the grant_refactor_validate branch August 11, 2020 15:09
@grant

grant commented Aug 11, 2020

Copy link
Copy Markdown
Member Author

It doesn't fix #273, it's just helping for future PRs that allow for #273 to be fixed. Fixing #273 directly is a little bit more complicated as it touches many areas of the SDK.

lance pushed a commit that referenced this pull request Sep 11, 2020
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
@lholmquist lholmquist mentioned this pull request Dec 11, 2020
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.

3 participants