We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NanoId
1 parent 75c3a35 commit 9a1f9c5Copy full SHA for 9a1f9c5
2 files changed
src/libs/ws/headers.rs
@@ -98,6 +98,7 @@ fn parse_ty(ty: &Type, value: &str) -> Result<serde_json::Value> {
98
Type::Enum { .. } => serde_json::Value::String(value.to_string()),
99
Type::EnumRef { .. } => serde_json::Value::String(value.to_string()),
100
Type::UUID => serde_json::Value::String(value.to_string()),
101
+ Type::NanoId { .. } => serde_json::Value::String(value.to_string()),
102
Type::Optional(ty) => parse_ty(ty, value)?,
103
Type::BlockchainAddress => serde_json::Value::String(value.to_string()),
104
ty => bail!("Not implemented {:?}", ty),
src/model/types.rs
@@ -88,6 +88,7 @@ pub enum Type {
88
String,
89
Bytea,
90
UUID,
91
+ NanoId { len: usize },
92
IpAddr,
93
Struct {
94
name: String,
0 commit comments