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

Init validate provider #798

Merged
merged 3 commits into from
Dec 6, 2023

Conversation

loic425
Copy link
Member

@loic425 loic425 commented Nov 27, 2023

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets
License MIT

Based on #796

@loic425 loic425 requested a review from a team as a code owner November 27, 2023 10:34
}

/** @test */
public function it_throws_an_exception_when_validating_resource_on_non_html_format(): void
Copy link
Member

Choose a reason for hiding this comment

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

it_validates_resource_with_validation_context_on_non_html_format
it_throws_an_exception_when_validating_resource_on_non_html_format

I wonder if methods names can or should be re-pharesed a bit.
My first thought is that difference in validation without exception and with exception is due "validation context" presence.

Though I don't have better idea

@lchrusciel lchrusciel merged commit 0cf6c14 into Sylius:1.11 Dec 6, 2023
60 checks passed
@lchrusciel
Copy link
Member

Thank you, @loic425!

@loic425 loic425 deleted the feature/init-validate-provider branch December 6, 2023 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants