wrap-cli
wrap-cli copied to clipboard
Rust bindings do not output import statements for enums when expected
Describe the bug In an imported module that uses an enum, Rust bindings are being generated without the required import statement.
The import statements are missing in wrap/imported/concurrent_module/serialization.rs.
Expected behavior
I expected the following at the top of wrap/imported/concurrent_module/serialization.rs:
use crate::{
ConcurrentReturnWhen,
get_concurrent_return_when_value,
sanitize_concurrent_return_when_value,
get_concurrent_task_status_value,
sanitize_concurrent_task_status_value,
};
Please provide the steps to reproduce and if possible a minimal demo of the problem. TODO
Screenshots / logs

Schema of imported interface: https://github.com/polywrap/integrations/blob/main/system/concurrency/interface/src/schema.graphql
Relevant environment details:
- OS: MacOS