-
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-1691] Ensure schema is not empty for multi-tokens when using dispatch. #37
Conversation
PR Description updated to latest commit (f007665) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch
Type
enhancement, bug_fix
Description
DispatchCall
enum to assign a proper value toMULTI_TOKENS
.DispatchTest
.EncodingTest
.FuelTanksServiceProvider
in the test environment configuration.SetCollectionAttribute
for setting collection attributes.Changes walkthrough
DispatchCall.php
Update DispatchCall Enum with Correct Value for MULTI_TOKENS
src/Enums/DispatchCall.php
MULTI_TOKENS
from an empty string to 'primary'.Codec.php
Update Codec Service with Specific Encoder and Decoder Types
src/Services/Processor/Substrate/Codec/Codec.php
encoder()
toFuelTankEncoder
.decoder()
toFuelTankDecoder
.SetCollectionAttribute.graphql
Add GraphQL Mutation for Setting Collection Attributes
tests/Feature/GraphQL/Resources/SetCollectionAttribute.graphql
SetCollectionAttribute
.DispatchTest.php
Add Test for Multi-Token Dispatch and Update Parameter Generation
tests/Feature/GraphQL/Mutations/DispatchTest.php
test_it_can_dispatch_multi_token
to verify dispatchfunctionality for multi tokens.
generateParams
method to supportDispatchCall::MULTI_TOKENS
.EncodingTest.php
Fix Typo in EncodingTest Method Calls
tests/Unit/EncodingTest.php
InsertRulesetMutation
toInsertRuleSetMutation
.RemoveRulesetmutation
toRemoveRuleSetMutation
.testbench.yaml
Register FuelTanksServiceProvider in Test Environment
testbench.yaml
FuelTanksServiceProvider
to the providers list.