Skip to content

Allow any type that holds the Spec.Context to use assert:.#9

Merged
jemc merged 1 commit intomainfrom
add/other-types-can-assert
Mar 16, 2022
Merged

Allow any type that holds the Spec.Context to use assert:.#9
jemc merged 1 commit intomainfrom
add/other-types-can-assert

Conversation

@jemc
Copy link
Copy Markdown
Contributor

@jemc jemc commented Mar 16, 2022

Prior to this, only an instance of a Spec could use assert:,
but now any subtype of Spec.Context.Holder'box can assert.

This opens the door to asynchronously evaluated assertions,
by passing the Spec.Context into an actor.

Prior to this, only an instance of a `Spec` could use `assert:`,
but now any subtype of `Spec.Context.Holder'box` can assert.

This opens the door to asynchronously evaluated assertions,
by passing the `Spec.Context` into an actor.
@jemc jemc self-assigned this Mar 16, 2022
@jemc jemc merged commit 1c85be9 into main Mar 16, 2022
@jemc jemc deleted the add/other-types-can-assert branch March 16, 2022 20:55
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.

1 participant