Skip to content

Commit

Permalink
allowed nested arg mismatches
Browse files Browse the repository at this point in the history
  • Loading branch information
roryc89 committed Sep 18, 2023
1 parent 1a61b99 commit 0862c1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/GraphQL/Client/Args.purs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ else instance argToGqlMaybe :: ArgGqlAt at param arg => ArgGqlAt at param (Maybe
else instance argToGqlArray :: ArgGqlAt at param arg => ArgGqlAt at (Array param) (Array arg)
else instance argToGqlArrayOne :: ArgGqlAt at param arg => ArgGqlAt at (Array param) arg
else instance argToGqlRecord :: RecordArg p a u => ArgGqlAt at { | p } { | a }
else instance allowedArgMismatch :: ArgGqlAt at p schemaType => ArgGqlAt at p (AllowedMismatch schemaType a)
else instance allowedArgMismatchSame :: ArgGqlAt at p (AllowedMismatch p a)
else instance allowedArgMismatchNested :: ArgGqlAt at p a => ArgGqlAt at p (AllowedMismatch schema a)
else instance argGqlIdentity :: ArgGqlAt at a a
else instance argToGqlNewtypeRecord :: (Newtype n { | p }, RecordArg p a u) => ArgGqlAt at n { | a }
else instance argMismatch ::
Expand Down

0 comments on commit 0862c1a

Please sign in to comment.