-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[Notifier][Prelude] Add bridge #62801
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
base: 8.1
Are you sure you want to change the base?
Conversation
src/Symfony/Component/Notifier/Bridge/Prelude/Tests/PreludeTransportFactoryTest.php
Outdated
Show resolved
Hide resolved
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.
Leas update the UnsupportedSchemeException + you can prepare a recipe in symfony/recipes repository, thanks
ac3aed7 to
25486e5
Compare
I did fix the majority of comments, for UnsupportedSchemeException what should i update ? I will add the recipe asap |
73600f2 to
3232eb7
Compare
3232eb7 to
e439429
Compare
recipe done |
nicolas-grekas
left a comment
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.
cool, thanks for submitting!
| 8.1 | ||
| --- | ||
|
|
||
| * Add bridge |
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.
| * Add bridge | |
| * Add bridge |
| "symfony/http-client": "^6.4|^7.0|^8.0", | ||
| "symfony/notifier": "^7.3|^8.0" | ||
| }, | ||
| "require-dev": { | ||
| "symfony/http-client": "^6.4|^7.0|^8.0" |
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.
| "symfony/http-client": "^6.4|^7.0|^8.0", | |
| "symfony/notifier": "^7.3|^8.0" | |
| }, | |
| "require-dev": { | |
| "symfony/http-client": "^6.4|^7.0|^8.0" | |
| "symfony/http-client": "^7.4|^8.0", | |
| "symfony/notifier": "^7.4|^8.0" |
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.3/phpunit.xsd" |
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.
11.3 now - please borrow from other bridges from branch 8.1
| private readonly ?string $scheduleAt = null, | ||
| private readonly ?string $callbackUrl = null, | ||
| private readonly ?string $correlationId = null, | ||
| private readonly ?string $preferredChannel = null, |
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.
We have quite some inconsistency in the way the various bridges define their options class.
The proposed one is very unlike the majority (eg things started with an $options argument and setters/getter without set/get prefixes.)
It's a bit inconsistent already, but let's define how we want to improve consistency? /cc @OskarStark
This PR adds the support for Prelude Notification ( Prelude is a provider for OTP, Transactional SMS , and whatsapp messaging)
https://docs.prelude.so/introduction/welcome-to-prelude