We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80fc452 commit 0264c6aCopy full SHA for 0264c6a
unison-share-api/src/Unison/Server/Orphans.hs
@@ -173,6 +173,9 @@ instance ToJSONKey Name where
173
instance ToSchema Name where
174
declareNamedSchema _ = declareNamedSchema (Proxy @Text)
175
176
+instance ToJSON NameSegment where
177
+ toJSON = toJSON . NameSegment.toEscapedText
178
+
179
deriving anyclass instance ToParamSchema ShortCausalHash
180
181
instance ToParamSchema ShortHash where
0 commit comments