CQRS validation
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- php, symfony
- Domain
- documentation
Research direction
The issue does not name any documentation file, test, or entry point. Start by reviewing the existing guidance on Symfony forms, commands, command handlers, entities, and asynchronous handling; done means documenting an agreed validation approach and explaining how form errors integrate with the frontend.
Written by the indexing model from the issue text.
Description
I have question about your approach to validation.
I've discovered validation rules in: forms, commands before dispatch, command handlers and entities (eg. when add product to cart). This includes a lot of repetition.
Can anyone describe how validation should be performed?
- Where validate data rules (like max length, correct syntax)?
- Where validate business rules?
- How catching business exceptions and forwarding messages from them to symfony form supports async command handling?
I read about future plans to move all backend/frontend presentation to vue. How symfony forms will be connected with vue? Does creating symfony forms make sens with vue in mind? Shouldn't form validation will be performed in commands?
- Dominant language
- Scala
- Stars
- 136
- Forks
- 555
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PrestaShop/docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
PrestaShop/docs#1390 ·
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PrestaShop/docs#1049 ·
-
PrestaShop/docs#2148 · 1 assignee ·
-
8.x Version specific
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
PrestaShop/docs#1998 ·
-
Handling catpchas Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
PrestaShop/docs#1985 · 2 comments ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ergoplatform/ergodocs#614 ·
-
area:ci enhancement requires-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/datafusion-comet#6078 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
[VL] madvise(WILLNEED) call fails in MmapFileStream because of wrong calculation of fetching length Openbug triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
chipsalliance/rocket-chip#3831 ·