Skip to content

Commit

Permalink
updated readme to reflect what is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
DenuxPlays committed Mar 5, 2024
1 parent c280774 commit 625d7e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ use path::to::schema;
Please keep in mind that this is an experimental feature and causes more build-time overhead.
<br>
Higher RAM usage, longer compile times and excessive disk usage (especially on larger projects) are the consequences.
<br>
Also we currently do not support "partial" imports. The following is **NOT** supported:
```rust
use path::to::generic;

#[aliases(GenericSchema = generic::Schema)]
```
Please use the full path instead or the `as` keyword to rename the imported schemas.

```toml
utoipauto = { version = "0.2.0", feature = ["generic_full_path"] }
Expand Down

0 comments on commit 625d7e2

Please sign in to comment.