feat(llc): add queryUsers to StreamFeedsClient#111
Conversation
Expose the generated DefaultApi.queryUsers endpoint via a public queryUsers() method on StreamFeedsClient. Adds FullUserResponseMapper to map FullUserResponse to the domain UserData model. Closes FLU-370 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 25 minutes and 27 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #111 +/- ##
==========================================
+ Coverage 85.53% 85.63% +0.09%
==========================================
Files 124 124
Lines 4342 4364 +22
==========================================
+ Hits 3714 3737 +23
+ Misses 628 627 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Add unit tests for queryUsers() client method and FullUserResponseMapper.toModel(). Also adds createDefaultFullUserResponse and createDefaultQueryUsersResponse test helpers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
queryUsers()method toStreamFeedsClient(interface + impl) wrapping the generatedDefaultApi.queryUsersendpointFullUserResponseMapperextension touser_data.dartto mapFullUserResponse→UserDatadocs/code_snippets/02_01_querying_users.dartwith examples for name autocomplete, ID filter, and presence queriesDefaultApiinstance as_feedsApifield inFeedsClientImplso methods not covered by a dedicated repository can be called directlyCloses FLU-370
Test plan
melos run analyze— no issuesmelos run format— no changesflutter testinpackages/stream_feeds— 392 tests passdart analyze docs/code_snippets/02_01_querying_users.dart— no issues🤖 Generated with Claude Code