You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the use of generics in query endpoint messages are not supported by the #[derive(QueryResponses)] macro.
By supporting generics in QueryMsg definitions developers can more easily modularise their smart-contracts.
Example:
#[cosmwasm_schema::cw_serde]#[derive(QueryResponses)]#[query_responses(nested)]pubenumQueryMsg<BaseMsg,AppMsg = Empty>{/// A configuration message to a base implementation.Base(BaseMsg),/// Custom queryApp(AppMsg),}
The text was updated successfully, but these errors were encountered:
Currently the use of generics in query endpoint messages are not supported by the
#[derive(QueryResponses)]
macro.By supporting generics in
QueryMsg
definitions developers can more easily modularise their smart-contracts.Example:
The text was updated successfully, but these errors were encountered: