-
Notifications
You must be signed in to change notification settings - Fork 7
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-1733] Adds skipValidation to all transaction mutations #41
Conversation
PR Description updated to latest commit (64ea758) |
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 skipping validation rules.getSkipValidationField
method in mutations to handle skippable validation rules.rulesWithValidation
and added newrulesWithoutValidation
for cases without DB rules across multiple mutations.HasFuelTankValidationRules
trait to include new methods for handling validation rules with and without database checks.Changes walkthrough
14 files
AddAccountMutation.php
Integrate Skippable Validation Rules in AddAccountMutation
src/GraphQL/Mutations/AddAccountMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.BatchAddAccountMutation.php
Integrate Skippable Validation Rules in BatchAddAccountMutation
src/GraphQL/Mutations/BatchAddAccountMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.BatchRemoveAccountMutation.php
Integrate Skippable Validation Rules in BatchRemoveAccountMutation
src/GraphQL/Mutations/BatchRemoveAccountMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.CreateFuelTankMutation.php
Integrate Skippable Validation Rules in CreateFuelTankMutation
src/GraphQL/Mutations/CreateFuelTankMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.DestroyFuelTankMutation.php
Integrate Skippable Validation Rules in DestroyFuelTankMutation
src/GraphQL/Mutations/DestroyFuelTankMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.DispatchMutation.php
Integrate Skippable Validation Rules in DispatchMutation
src/GraphQL/Mutations/DispatchMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.ForceSetConsumptionMutation.php
Integrate Skippable Validation Rules in ForceSetConsumptionMutation
src/GraphQL/Mutations/ForceSetConsumptionMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.InsertRuleSetMutation.php
Integrate Skippable Validation Rules in InsertRuleSetMutation
src/GraphQL/Mutations/InsertRuleSetMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.MutateFuelTankMutation.php
Integrate Skippable Validation Rules in MutateFuelTankMutation
src/GraphQL/Mutations/MutateFuelTankMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.RemoveAccountMutation.php
Integrate Skippable Validation Rules in RemoveAccountMutation
src/GraphQL/Mutations/RemoveAccountMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.RemoveAccountRuleDataMutation.php
Integrate Skippable Validation Rules in RemoveAccountRuleDataMutation
src/GraphQL/Mutations/RemoveAccountRuleDataMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.RemoveRuleSetMutation.php
Integrate Skippable Validation Rules in RemoveRuleSetMutation
src/GraphQL/Mutations/RemoveRuleSetMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.ScheduleMutateFreezeStateMutation.php
Integrate Skippable Validation Rules in
ScheduleMutateFreezeStateMutation
src/GraphQL/Mutations/ScheduleMutateFreezeStateMutation.php
HasSkippableRules
to support skipping validation rules.getSkipValidationField
in the arguments method.rulesWithValidation
and addedrulesWithoutValidation
for cases without DB rules.HasFuelTankValidationRules.php
Refactor and Add Validation Rules Methods in
HasFuelTankValidationRules Trait
src/GraphQL/Traits/HasFuelTankValidationRules.php
commonRules
tocommonRulesExist
and added a newcommonRules
method for common validation rules.dispatchRulesExist
method for dispatch rules validation with DBrules.