-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
QueryResponses full path not used in cosmwasm_schema::generate_api! #1527
Comments
Thanks a lot for bringing this up and providing the patch. In #1534 I was able to reproduce the issue in a test case and cherry-picked your patch. I'll release that as part of the next 1.1.x, most likely this week. |
Fixed and shipped in 1.1.9 |
Much appreciated! I'll be sure to add a test case next time to save you the hassle - I wasn't sure whether it was warranted, but it does make sense after looking at the one you added. |
I made it a habbit for bugs. Whenever there is a bug, I do not ask how do I fix this? but how was it possible to slip through and how can we ensure this never happens again?. Then the fixing part is usually easy. |
The full module path (starting from crate root) is not used when specifying the
QueryResponses
type in thecosmwasm_schema::generate_api!
macro.This can result in the following error when using it without
cosmwasm_schema::write_api!
:The text was updated successfully, but these errors were encountered: