-
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-1708] Remove validation on GetBeam #69
Conversation
PR Description updated to latest commit (ad72f1c) |
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, tests
Description
SingleUseCodeExist
rule to support conditional claimability checks, improving the flexibility of beam claim validations.Changes walkthrough
ClaimBeamMutation.php
Enhance Single Use Code Validation for Claiming
src/GraphQL/Mutations/ClaimBeamMutation.php
SingleUseCodeExist
constructor to supportconditional claimability checks.
SingleUseCodeExist.php
Conditional Claimability Check in Single Use Code Validation
src/Rules/SingleUseCodeExist.php
bool
parameter to toggle claimabilitychecks.
validate
method to conditionally check for claimabilitybased on the new constructor parameter.
GetBeamTest.php
Add Tests for Single Use Code Beam Retrieval
tests/Feature/GraphQL/Queries/GetBeamTest.php
BeamType
andBeamService
for setting up test conditions.