-
Notifications
You must be signed in to change notification settings - Fork 137
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
Feat/support custom message type #110
Conversation
010ef6f
to
a6a5c0b
Compare
a6a5c0b
to
957552a
Compare
422ae5c
to
2ffb7cd
Compare
2ffb7cd
to
0d90f33
Compare
@@ -15,24 +15,30 @@ | |||
$pnConfig = new PNConfiguration(); | |||
$pnConfig->setPublishKey(getenv('PN_KEY_PUBLISH')); |
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.
if PN_KEY_PUBLISH or PN_KEY_SUBSCRIBE is not set, the script might fail without a clear error message ?
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.
this is just a code example to be analyzed and not a demo :)
@@ -31,8 +31,9 @@ class FetchMessages extends Endpoint | |||
|
|||
protected bool $includeMeta = false; | |||
protected bool $includeUuid = false; | |||
protected bool $includeMessageType = false; | |||
protected bool $includeMessageType = true; |
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.
Why you changed default from false to true ?
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.
to be in line with tomato. with the field set otherwise tomato failed all the time so I thought it's the proper value
tests/Acceptance/CustomMessageType/history-custom-mssg-type.feature
Outdated
Show resolved
Hide resolved
c1af17f
to
29c7cf8
Compare
29c7cf8
to
e5c5462
Compare
@pubnub-release-bot release |
🚀 Release successfully completed 🚀 |
feat: Add custom message type support for selected APIs
Add custom message type support for the following APIs - publish, signal, share file, subscribe and history