We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The macro fn_execute change the visibility of the created function when pub is not specified.
fn_execute
pub
($name:ident: $req:ty[$type_url:expr] => $res:ty) => { pub fn $name( &self, msg: $req, signer: &$crate::SigningAccount, ) -> $crate::RunnerExecuteResult<$res> { self.runner.execute(msg, $type_url, signer) } }; ($name:ident: $req:ty => $res:ty) => { pub fn $name( &self, msg: $req, signer: &$crate::SigningAccount, ) -> $crate::RunnerExecuteResult<$res> { self.runner.execute(msg, <$req>::TYPE_URL, signer) } };
I saw that in fn_query the visibility is maintained. Is this intentional? Thanks!
fn_query
The text was updated successfully, but these errors were encountered:
Nice catch! will work on it!
Sorry, something went wrong.
@iboss-ptk here the fix #55
Successfully merging a pull request may close this issue.
The macro
fn_execute
change the visibility of the created function whenpub
is not specified.I saw that in
fn_query
the visibility is maintained. Is this intentional? Thanks!The text was updated successfully, but these errors were encountered: