Skip to content

[Console] Add Suggestion class for more advanced completion suggestion #44230

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
Nov 23, 2021

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Nov 23, 2021

Q A
Branch? 5.4
Bug fix? no
New feature? yes
Deprecations? no
Tickets
License MIT
Doc PR -

Alternative to #44229 , see that PR for the full context.

@wouterj wouterj force-pushed the console-completion-fc1 branch from 8aedd66 to f5667b0 Compare November 23, 2021 15:44
@wouterj wouterj force-pushed the console-completion-fc1 branch from 607be82 to 20ba02c Compare November 23, 2021 15:58
{
private $valueSuggestions = [];
private $optionSuggestions = [];

/**
* Add a suggested value for an input option or argument.
*
* @param string|Suggestion $value
Copy link
Member

Choose a reason for hiding this comment

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

should be changed to a native union type when merging into 6.0

@nicolas-grekas
Copy link
Member

Thank you @wouterj.

@nicolas-grekas nicolas-grekas merged commit 5cff780 into symfony:5.4 Nov 23, 2021
This was referenced Nov 24, 2021
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.

7 participants