Skip to content

Conversation

@younata
Copy link
Member

@younata younata commented Dec 23, 2024

Adds a new type: DynamicResult, which encapsulates handling multiple responses, as well as side effects/closures Updates Spy to use DynamicResult internally, though document DynamicResult for those who wish to use it directly.

Resolves #3 #4

Checklist - While not every PR needs it, new features should consider this list:

  • Does this have tests?
  • Does this have documentation?
  • Does this break the public API (Requires major version bump)?
  • Is this a new feature (Requires minor version bump)?

@younata younata added this to the 1.0 milestone Dec 23, 2024
Adds a new type: DynamicResult, which encapsulates handling multiple responses, as well as side effects/closures
Updates Spy to use DynamicResult internally, though document DynamicResult for those who wish to use it directly.
@younata younata merged commit bdc1266 into main Dec 23, 2024
7 of 8 checks passed
@younata younata deleted the dynamic_result branch December 23, 2024 05:35
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.

Support multiple responses from Spy

2 participants