firebase-ios-sdk
firebase-ios-sdk copied to clipboard
[WIP] Streamable functions
Contribution Workflow
- Fork the Firebase repo and clone it.
- Add Upstream:
git remote add upstream https://github.com/firebase/firebase-ios-sdk.git - Create Branch:
git fetch upstream && git checkout -b <feature-branch> upstream/streamable-functions- Where
<feature-branch>is the name of the branch (e.g., add-tests-streamable).
- Where
- Regular workflow: Run style script and
git add . && git commit -m "..." - Push:
git push origin <feature-branch> - PR: Create a PR on GitHub, with base branch set to
firebase:streamable-functions - Update fork feature branch (if needed):
git fetch upstream
git checkout <feature-branch>
git merge upstream/streamable-functions
git push origin <feature-branch>
Apple API Diff Report
Commit: 80622d6835b463cdcf7045bb7dbbd22c481fbd40 Last updated: Wed Feb 26 08:04 PST 2025 View workflow logs & download artifacts
FirebaseFunctions
Enumerations
[ADDED] StreamResponse
[ADDED] StreamResponse
Swift:
+ public enum StreamResponse < Message : Decodable , Result : Decodable > : Decodable , StreamResponseProtocol
+ case message ( Message )
+ case result ( Result )
+ public init ( from decoder : any Decoder ) throws
Structures
Callable
[ADDED] stream(_:)
Swift:
+ func stream ( _ data : Request ? = nil ) throws -> AsyncThrowingStream < Response , Error >
/gemini please review
Okay, I will review the pull request now.
/gemini Still reviewing?
It appears I am still reviewing the pull request. I will provide feedback as soon as possible.
This should be in a good state. I'll address any further comments in a follow-up PR.