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

Unable to have optional params in Query calls #264

Open
KennethVrb opened this issue Feb 10, 2023 · 2 comments · May be fixed by #278
Open

Unable to have optional params in Query calls #264

KennethVrb opened this issue Feb 10, 2023 · 2 comments · May be fixed by #278

Comments

@KennethVrb
Copy link

Im trying to interact with a pallet where query calls have optional params, however using this UI there is no way to have optional params?

Also when hacking it a bit so all params in query calls can be optional it seems to send the correct value null but all responses are None instead of the actual result. This works using polkadotjs tho.

anyone has an idea ?

@pablolteixeira
Copy link

I'm having the same issues, but with Extrinsic using the TxButton component.

@Euraxluo
Copy link

The reason is that Quey is not treated correctly, and all queries need to be rewritten.

Euraxluo added a commit to Euraxluo/substrate-front-end-template that referenced this issue Dec 25, 2023
@Euraxluo Euraxluo linked a pull request Dec 25, 2023 that will close this issue
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 a pull request may close this issue.

3 participants