Inter-Canister Query Calls (Status: done)

Are there any plans to eventually merge standard query calls and composite query calls so that these functions implemented in the cansiter are the same?

Also any stats/insight on adoption of this current feature by dapps on mainnet? I’m curious to understand if other IC developers are finding the ergonomics of this API manageabe

1 Like

The most impressive application of composite queries that I’ve seen is RuBaRu (cc: @raj.rubaru)

2 Likes

Yeah, this API benefits the asset storage use case quite well. And any sort of fan-out analytics querying architecture. Considering you have an aggregator canister on that subnet.

But the DX is kinda annoying having to write separate queries intended for agents vs canisters when a particular query is intended for both. And it doesn’t work for cross subnet calls. So, quite limited for a generic use case

2 Likes

I think it should work as long as you mark the queries as composite queries and the initial query is done by the client (JS code or dfx).

This post solved my problem :tada: