-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Which package/packages do you use?
"@stream-io/feeds-react-sdk": "^0.1.28",
Describe the bug
The User type, which describes user fields nested under Polls, is not aligned with UserResponse and is missing the image field; however, the value itself is present in the object returned via WebSocket or API endpoint.
To Reproduce
Steps to reproduce the behavior:
- Get a poll's state from
client.pollFromState(...).stateby usinguseStateStore - Inspect
poll.latest_votes_by_optionorown_votes_by_option_id. - Notice that the
.userfield doesn't haveimagein the type definition.
Expected behavior
User and UserResponse should be aligned.
Screenshots
If applicable, add screenshots to help explain your problem.
Version
- SDK version
@stream-io/[email protected]
Env:
Fill out what's applicable
React / JS client
- Browser [e.g. chrome, safari] - Brave
VadymBezpalko
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working