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
When generating WIT files, there's a rule that all data types need to reside inside the module (except for WIT keywords like option, result, list etc)
E.g. the following would not work
struct AuctionId { auction_id: String, } #[golem_rust::create_wit_file] mod auction_app { struct Auction { auction_id: Option<super::AuctionId>, name: String, description: String, starting_price: f32, deadline: Deadline, } }
The reason is that macro create_wit_file can't really see tokens outside of module that it is annotating. Is there a possibility to work around that?
create_wit_file
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When generating WIT files, there's a rule that all data types need to reside inside the module (except for WIT keywords like option, result, list etc)
E.g. the following would not work
The reason is that macro
create_wit_file
can't really see tokens outside of module that it is annotating. Is there a possibility to work around that?The text was updated successfully, but these errors were encountered: