Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clen 1924: support for pagination params for push channels #123

Merged
merged 7 commits into from
Mar 28, 2024

Conversation

mohitpubnub
Copy link
Contributor

feat: Added support for pagination params for listChannels api of push notification devices.

Added support for pagination params for listChannels api of push notification devices.

@mohitpubnub mohitpubnub self-assigned this Mar 27, 2024
@mohitpubnub mohitpubnub added status: done This issue is considered resolved. priority: medium This PR should be reviewed after all high priority PRs. labels Mar 27, 2024

ListPushChannelsParams(this.keyset, this.deviceId, this.pushGateway,
{this.topic, this.environment});
{this.topic, this.environment, this.start, this.count});

Choose a reason for hiding this comment

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

Nitpick, you can add a trailing comma , after this.count so your IDE should break the line

@@ -33,7 +37,7 @@ mixin PushNotificationDx on Core {
if (gateway == PushGateway.apns2) Ensure(topic).isNotNull('topic');

var params = ListPushChannelsParams(keyset, deviceId, gateway,
topic: topic, environment: environment);
topic: topic, environment: environment, start: start, count: count);

Choose a reason for hiding this comment

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

The same nitpick here, you can add a trailing comma , after count so your IDE should break the line

test('listPushChannels delegate supported arguments', () async {
fakePubnub.returnWhen(
#listPushChannels,
Future.value(

Choose a reason for hiding this comment

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

You can also use trailing commas here, I leave it up to you


expect(invocation.isMethod, equals(true));
expect(invocation.memberName, equals(#listPushChannels));
expect(invocation.positionalArguments,

Choose a reason for hiding this comment

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

You can also use trailing commas here, I leave it up to you

@mohitpubnub
Copy link
Contributor Author

Yeah!! The commas

@mohitpubnub
Copy link
Contributor Author

@pubnub-release-bot release dart as v4.3.3

.pubnub.yml Outdated Show resolved Hide resolved
Co-authored-by: Karolina Rymer <[email protected]>
@mohitpubnub mohitpubnub merged commit 508ae72 into master Mar 28, 2024
5 checks passed
@mohitpubnub mohitpubnub deleted the CLEN-1924/push-channels-paginationparams branch March 28, 2024 13:29
@pubnub-release-bot
Copy link
Contributor

🚀 Release successfully completed 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium This PR should be reviewed after all high priority PRs. status: done This issue is considered resolved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants