Skip to content

Conversation

eBlender
Copy link
Contributor

Add Request?=nil
Add new test for no args are passed.

eBlender and others added 8 commits February 11, 2025 21:27
Add two tests to cover new API
Add enum to handle response from stream
Add extension to Callable for Streamable Content.
Add Enum to switch over response type
Add New test to match new API design doc.
Accepted suggestion.

Co-authored-by: Nick Cooke <[email protected]>
Accepted suggestion

Co-authored-by: Nick Cooke <[email protected]>
Add placeholders so we can pass CI, while we finalize stream() functionality
Change Request to Request? = nil.
Add Test case to cover no arguments in call.
@ncooke3 ncooke3 changed the base branch from main to streamable-functions February 25, 2025 23:06
Accepted suggestion.

Co-authored-by: Nick Cooke <[email protected]>
@ncooke3 ncooke3 marked this pull request as ready for review February 25, 2025 23:21
Copy link
Member

@ncooke3 ncooke3 left a comment

Choose a reason for hiding this comment

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

Will remove some more merge conflicts

// TODO: Ensure decoding failures are passed into reasonable errors.
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
func stream(_ data: Request) -> AsyncThrowingStream<Response, Error> {
func stream(_ data: Request? = nil) -> AsyncThrowingStream<Response, Error> {
Copy link
Member

Choose a reason for hiding this comment

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

Could you revert the changes in the file apart from this line?

@eBlender eBlender closed this Feb 26, 2025
@firebase firebase locked and limited conversation to collaborators Mar 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants