Reflection Issue with petgraph::graph::DiGraph
Open
A-Reflection
C-Bug
D-Macros
S-Needs-Investigation
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
0.15.0
## What you did
I'm working on implementing scripting support using bevy\_reflect.
## What went wrong
There's something weird going on with `petgraph::graph::DiGraph`:
```rs
OpaqueInfo {
ty: petgraph::graph::DiGraph,
generics: Generics(
[],
),
docs: None,
}
```
This type clearly has generic parameters, but the generics field is empty.
## Additional information
The reflection is implemented using the macro `impl_reflect_opaque!`, maybe something there goes wrong.
Contributor guide
Assessment
This issue has not been assessed yet.