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

Remove return type for Twig function workflow_metadata() #36447

Conversation

gisostallenberg
Copy link
Contributor

Technically it is allowed to have metadata other than string, even data that does not cast to string, like an array.

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #36391
License MIT
Doc PR n/a

The workflow metadata store can contain not only strings, but setting nested metadata results in an error when workflow_metadata() is used in Twig.
Also see #36391

Technically it is allowed to have metadata other than string, even data that does not cast to string, like an array.
Also see symfony#36391
Copy link
Member

@lyrixx lyrixx left a comment

Choose a reason for hiding this comment

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

👍
Thanks for your contribution

@fabpot
Copy link
Member

fabpot commented Apr 15, 2020

Thank you @gisostallenberg.

@fabpot fabpot merged commit 39a7ee1 into symfony:4.4 Apr 15, 2020
This was referenced Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants