Skip to content

Conversation

xernobyl
Copy link

@xernobyl xernobyl commented Jul 3, 2024

CLA

  • I have signed the Stream CLA (required).
  • Code changes are tested

Description of the changes, What, Why and How?

Added support to Sort by arrays of strings:

const { members } = await channel.queryMembers(
    {},
    { channel_role: ['channel_moderator', 'channel_member'], name: 1 },
);

Now users should be able to query members sorted by role.

Changelog

Copy link
Contributor

github-actions bot commented Jul 3, 2024

Size Change: 0 B

Total Size: 377 kB

ℹ️ View Unchanged
Filename Size
dist/browser.es.js 81.6 kB
dist/browser.full-bundle.min.js 48.8 kB
dist/browser.js 82.6 kB
dist/index.es.js 81.7 kB
dist/index.js 82.7 kB

compressed-size-action

@xernobyl xernobyl added the Backend Team The backend team is in charge of this issue label Jul 4, 2024
@xernobyl xernobyl changed the title [PBE-4985] allow string arrays on sort parameters chore: allow string arrays on sort parameters Jul 4, 2024
@xernobyl xernobyl marked this pull request as ready for review July 4, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Team The backend team is in charge of this issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants