-
Notifications
You must be signed in to change notification settings - Fork 15
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
Conversation
|
||
ListPushChannelsParams(this.keyset, this.deviceId, this.pushGateway, | ||
{this.topic, this.environment}); | ||
{this.topic, this.environment, this.start, this.count}); |
There was a problem hiding this comment.
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
pubnub/lib/src/dx/push/push.dart
Outdated
@@ -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); |
There was a problem hiding this comment.
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
pubnub/test/unit/dx/push_test.dart
Outdated
test('listPushChannels delegate supported arguments', () async { | ||
fakePubnub.returnWhen( | ||
#listPushChannels, | ||
Future.value( |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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
Yeah!! The commas |
@pubnub-release-bot release dart as v4.3.3 |
Co-authored-by: Karolina Rymer <[email protected]>
🚀 Release successfully completed 🚀 |
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.