-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
Is it possible to use lists in input arguments? For example:
data UserNames = UserNames
{ getUserNames :: [Text]
} deriving (Generic, Show)
instance FromValue UserNames
instance Defaultable UserNames
instance HasAnnotatedInputType UserNames
Results in this error:
• No instance for (HasAnnotatedInputType [Text])
I am not sure what the purpose HasAnnotatedInputType is, what does Annotated mean in the name? There seem to be no instance of this for List types i.e. [a]. Is that just missing or is it not possible to make it, or it does not make sense?
Metadata
Metadata
Assignees
Labels
No labels