Function cosmwasm_schema::combine_subqueries
source · pub fn combine_subqueries<const N: usize, T>(
subqueries: [BTreeMap<String, RootSchema>; N]
) -> BTreeMap<String, RootSchema>
Expand description
Combines multiple response schemas into one. Panics if there are name collisions.
Used internally in the implementation of QueryResponses
when using #[query_responses(nested)]