-
Notifications
You must be signed in to change notification settings - Fork 6
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
[PLA-1735] Adds skipValidation to blockchain transactions #42
Conversation
PR Description updated to latest commit (b608489) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
Type
enhancement
Description
HasSkippableRules
trait to various mutations to support optional validation based on a newskipValidation
field.skipValidation
field.Changes walkthrough
5 files
CancelListingMutation.php
Integrate Skip Validation Feature in CancelListingMutation
src/GraphQL/Mutations/CancelListingMutation.php
HasSkippableRules
trait to support skipping validation rules.rulesWithValidation
andrulesWithoutValidation
methods todifferentiate validation scenarios.
getSkipValidationField
to the mutation arguments.CreateListingMutation.php
Enhance CreateListingMutation with Conditional Validation
src/GraphQL/Mutations/CreateListingMutation.php
HasSkippableRules
trait to support conditional validation.conditions.
getSkipValidationField
to the mutation arguments.FillListingMutation.php
Add Skip Validation Support to FillListingMutation
src/GraphQL/Mutations/FillListingMutation.php
HasSkippableRules
trait for optional validation.getSkipValidationField
in mutation arguments.FinalizeAuctionMutation.php
Implement Skip Validation in FinalizeAuctionMutation
src/GraphQL/Mutations/FinalizeAuctionMutation.php
HasSkippableRules
trait to allow skipping validation.database checks.
getSkipValidationField
in mutation arguments.PlaceBidMutation.php
Support Optional Validation in PlaceBidMutation
src/GraphQL/Mutations/PlaceBidMutation.php
HasSkippableRules
trait for optional validation.interaction.
getSkipValidationField
to mutation arguments.5 files
CancelListingTest.php
Test Skip Validation for CancelListingMutation
tests/Feature/GraphQL/Mutations/CancelListingTest.php
CreateListingTest.php
Test Conditional Validation Skipping in CreateListingTest
tests/Feature/GraphQL/Mutations/CreateListingTest.php
FillListingTest.php
Test Skip Validation Feature in FillListingTest
tests/Feature/GraphQL/Mutations/FillListingTest.php
FinalizeAuctionTest.php
Validate Skip Validation Handling in FinalizeAuctionTest
tests/Feature/GraphQL/Mutations/FinalizeAuctionTest.php
PlaceBidTest.php
Test Skip Validation in PlaceBidMutation
tests/Feature/GraphQL/Mutations/PlaceBidTest.php