10000 [Workflow] Metadata dumping by Louis-Proffit · Pull Request #18398 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Workflow] Metadata dumping #18398

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

Merged
merged 1 commit into from 8000
Dec 9, 2023
Merged

Conversation

Louis-Proffit
Copy link
Contributor
@Louis-Proffit Louis-Proffit commented Jun 9, 2023

Refs

Document metadata dumping option for workflow. The corresponding symfony PR handles only DOT dumper.

@javiereguiluz javiereguiluz added the Waiting Code Merge Docs for features pending to be merged label Jun 14, 2023
@carsonbot carsonbot added this to the next milestone Jun 14, 2023
nicolas-grekas added a commit to symfony/symfony that referenced this pull request Jun 21, 2023
…rt for `GraphvizDumper` (Louis-Proffit)

This PR was merged into the 6.4 branch.

Discussion
----------

[FrameworkBundle][Workflow] Add metadata dumping support for `GraphvizDumper`

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | Fix #50604
| License       | MIT
| Doc PR        | symfony/symfony-docs#18398

Add `--with-metadata` option to `workflow:dump` command. It includes places, transitions and workflow's metadata in the dumped graph. Currently only supported for **GraphvizDumper** and **StateMachineGraphvizDumper**.

When used, the `label` metadata is not included in the dumped metadata because it is already the title. This could be enlarged to all styling metadata.

Commits
-------

457059d [FrameworkBundle][Workflow] Add metadata dumping support for GraphvizDumper
Comment on lines +78 to +82
The ``label`` metadata is not included in the dumped metadata, because it is used as a place's title.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The ``label`` metadata is not included in the dumped metadata, because it is used as a place's title.
The ``label`` metadata is not included in the dumped metadata, because it is used as a place's title.
.. versionadded:: 6.3
The ``--with-metadata`` option was introduced in Symfony 6.3.

@OskarStark OskarStark changed the title [Workflow] feature symfony#50604 metadata dumping [Workflow] Metadata dumping Dec 9, 2023
@OskarStark OskarStark removed the Waiting Code Merge Docs for features pending to be merged label Dec 9, 2023
@OskarStark OskarStark modified the milestones: next, 6.4 Dec 9, 2023
@OskarStark
Copy link
Contributor
OskarStark commented Dec 9, 2023

Thank you Louis-Proffit and congratulations on your first contribution to the Symfony documentation 🎉

I merged my addition in f1c0f13

@OskarStark OskarStark merged commit c222006 into symfony:6.4 Dec 9, 2023
@Louis-Proffit Louis-Proffit deleted the ticket_50604 branch January 23, 2024 09:26
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.

5 participants
0