Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Notifier] document the array shape of the content option #60342

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

Open
wants to merge 1 commit into
base: 7.3
Choose a base branch
from

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented May 4, 2025

Q A
Branch? 7.3
Bug fix? no
New feature? no
Deprecations? no
Issues Fix #60140 (comment)
License MIT

but I wonder: is it actually correct that $content is an array, according to https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content I would have guessed that it needs to be a string or (if it was an array), we would have to call it contentMap in the payload instead

@xabbuh xabbuh requested a review from OskarStark as a code owner May 4, 2025 20:03
@carsonbot carsonbot added this to the 7.3 milestone May 4, 2025
@carsonbot carsonbot changed the title [Notifier] document the array shape of the content option [Notifier] document the array shape of the content option May 4, 2025
@xabbuh xabbuh added the ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" label May 5, 2025
@stof
Copy link
Member

stof commented May 5, 2025

AFAIK, this content option has nothing to do with the activitystreams specification of the W3C. It has to do with symfony/ux#1853

@stof
Copy link
Member

stof commented May 5, 2025

And this means that the type added in this PR is the wrong one.

@xabbuh
Copy link
Member Author

xabbuh commented May 8, 2025

I have no idea how to read the code of the linked pull request in regard to the changes we want to do here. What would be the right array shape to use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Notifier ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" Status: Needs Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants