Closed miseyu closed 3 months ago
unexpected token rust-analyzer[macro-error](https://rust-analyzer.github.io/manual.html#macro-error)
#[nutype::nutype( sanitize(trim), derive( Debug, Clone, Eq, PartialEq, PartialOrd, Ord, AsRef, Serialize, Deserialize, Hash, Display, JsonSchema, ) )] pub(super) struct EdgeId(String);
Removing the JsonSchema derive from the above resolves the problem, so there must be some problem at the JsonSchema point.
This one was not a problem with nutype, but with https://github.com/GREsau/schemars, so I will close it.
Overview
Removing the JsonSchema derive from the above resolves the problem, so there must be some problem at the JsonSchema point.