Skip to content

Conversation

@javiereguiluz
Copy link
Member

No description provided.

@javiereguiluz
Copy link
Member Author

javiereguiluz commented Nov 28, 2025

I'm having some troubles updating the invokable commands:

  1. We use a service to validate the arguments, and we can't use that in the validator callback option of #[Ask].

  2. Also, I'm having issues getting the values of arguments in the #[Interact] prompt method 😓

  3. The maxAttempts: 3 option in #[Ask] doesn't work for me. I see the Enter the username prompt, press Enter and the command exists with a message error instead of asking again.

Any help is appreciated. Thanks.

@yceruto
Copy link
Member

yceruto commented Nov 29, 2025

now that we are using 8.4, what about validating the values using property hook approach?

@javiereguiluz
Copy link
Member Author

Sorry, but I don't know exactly how to do that 🤔

@seb-jean
Copy link
Contributor

Would it be worthwhile to add the Doctrine DatePoint Type (Symfony 7.3)?

@yceruto
Copy link
Member

yceruto commented Dec 1, 2025

now that we are using 8.4, what about validating the values using property hook approach?

Never mind, I thought the 8.0 upgrade had been merged at this point. We can start introducing these new features now, but with PHP 8.4 as the min requirement it will be much easier to implement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants