Skip to content

Conversation

@gpunto
Copy link
Contributor

@gpunto gpunto commented Dec 5, 2025

Goal

AND-940

There is a new concept in town: "collections." From the doc:

Collections are data objects that can be attached to activities for managing shared data across multiple activities.

The relevant API functions got available after the latest code generation (#156), so here we're exposing them through FeedsClient.

Implementation

  • Created CollectionsRepository to mirror the relevant API functions and wrapping return types in Result
  • Exposed those functions through FeedsClient and implement them by delegation

Testing

Not much to test tbh, we're just delegating to the API, but if you wanted you could just call those functions on FeedsClient and check the responses

Checklist

  • Issue linked (if any)
  • Tests/docs updated
  • I have signed the Stream CLA (required for external contributors)

@gpunto gpunto added the pr:new-feature New feature label Dec 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled.

🎉 Great job! This PR is ready for review.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

SDK Size Comparison 📏

SDK Before After Difference Status
stream-feeds-android-client 2.39 MB 2.40 MB 0.00 MB 🟢

@gpunto gpunto marked this pull request as ready for review December 10, 2025 14:53
Copy link
Collaborator

@VelikovPetar VelikovPetar left a comment

Choose a reason for hiding this comment

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

Small remark about some KDocs, otherwise looks good!

@gpunto gpunto force-pushed the and-940-expose-collections-related-operations branch from 70f69f2 to bb09ddc Compare December 11, 2025 08:34
@sonarqubecloud
Copy link

@VelikovPetar VelikovPetar merged commit 831971f into develop Dec 11, 2025
7 checks passed
@VelikovPetar VelikovPetar deleted the and-940-expose-collections-related-operations branch December 11, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:new-feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants