You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile error on mismatched types.
The hard coded import in schema.rs file can change with feature flags.
This type changes with the preserve_order flag in schemars.
Current and expected behavior
Compile error on mismatched types.
The hard coded import in
schema.rs
file can change with feature flags.This type changes with the
preserve_order
flag inschemars
.Possible solution
This line:
kube/kube-core/src/schema.rs
Line 5 in b92dc5b
Should be changed to:
or just
use schemars::MapEntry;
and change thematch
lower down in the code (line 104-114).Additional context
Transfer of issue from GREsau/okapi#109
Relevant code in schemars https://github.com/GREsau/schemars/blob/5268080b014152912a910e3fe8524c4c876407de/schemars/src/lib.rs#L306-L309
Environment
All
Configuration and features
No response
Affected crates
kube-core
Would you like to work on fixing this bug?
no
The text was updated successfully, but these errors were encountered: