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
Some schemas generated by Hasura, for example, contain types that are all lower case:
scalaruuid
When using defineByDocumentFile, the code generated by Template Haskell complains that the type constructor is illegal as it doesn't begin with a capital letter:
Main.hs:15:1: error:
Illegal type constructor or class name: ‘uuid’
When splicing a TH declaration:
data LookupSpotifyOAuthArgs
= LookupSpotifyOAuthArgs {id :: (GHC.Maybe.Maybe uuid)}
deriving GHC.Generics.Generic
deriving GHC.Show.Show
deriving GHC.Classes.Eq
Would it be possible to automatically convert these references of uuid to Uuid?
The text was updated successfully, but these errors were encountered:
Some schemas generated by Hasura, for example, contain types that are all lower case:
When using
defineByDocumentFile
, the code generated by Template Haskell complains that the type constructor is illegal as it doesn't begin with a capital letter:Would it be possible to automatically convert these references of
uuid
toUuid
?The text was updated successfully, but these errors were encountered: