Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created some nice assertions for events #522

Merged
merged 4 commits into from
Jun 4, 2020

Conversation

slinkydeveloper
Copy link
Member

@slinkydeveloper slinkydeveloper commented May 27, 2020

That's an initial list of assertions, we can add more of them later

Signed-off-by: Francesco Guardiani [email protected]

Copy link
Member

@n3wscott n3wscott left a comment

Choose a reason for hiding this comment

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

lgtm

Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
@slinkydeveloper slinkydeveloper added this to the SDK 2.1 milestone Jun 1, 2020
@ericlem
Copy link
Contributor

ericlem commented Jun 1, 2020

This looks nice. I'd definitely like to see this go in. There may be some more predicates we want later, but they are easy to add even by external callers by just implementing the interface, so I'm good with what's there.

@slinkydeveloper
Copy link
Member Author

There may be some more predicates we want later, but they are easy to add even by external callers by just implementing the interface, so I'm good with what's there.

Sure, or we can add them here, so they can be beneficial for all users

@slinkydeveloper slinkydeveloper merged commit b170752 into cloudevents:master Jun 4, 2020
@slinkydeveloper slinkydeveloper deleted the nice_assertions branch June 4, 2020 07:15
slinkydeveloper added a commit that referenced this pull request Jun 8, 2020
* More assertions

Signed-off-by: Francesco Guardiani <[email protected]>

* Moar assertions

Signed-off-by: Francesco Guardiani <[email protected]>

* Changed ContainsAttributes signature

Signed-off-by: Francesco Guardiani <[email protected]>
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