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

Calling composite query from javascript agent #868

Open
wirapratamaz opened this issue Mar 27, 2024 · 1 comment
Open

Calling composite query from javascript agent #868

wirapratamaz opened this issue Mar 27, 2024 · 1 comment

Comments

@wirapratamaz
Copy link

Describe the issue
I'm experiencing issues with the composite query functionality using the @dfinity/agent library in my Node.js application. When attempting to execute composite queries, the process gets stuck without failing or returning any results. Despite efforts, I couldn't find relevant documentation regarding composite queries for @dfinity/agent. While building the agent using the IDL of my canister, which includes a composite query method, I'm unsure if any additional specifications are required for composite queries compared to regular update or query calls. is there any limitation on composite query call from javascript side?Could someone provide guidance or direct me to appropriate documentation regarding composite queries with @dfinity/agent?
https://www.npmjs.com/package/@dfinity/agent?activeTab=readme

@krpeacock
Copy link
Contributor

Sorry for the delay here - I haven't been able to reproduce this myself. Labeling composite_query in the IDL works as intended on mainnet and during local development in my own experience.

I'd be happy to take a look if you have reproducing code

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

No branches or pull requests

2 participants