forked from OSS/graphql
Fix alias colon order
This commit is contained in:
parent
99b4d86702
commit
4508364266
@ -52,7 +52,7 @@ selection (SelectionFragmentSpread x) = fragmentSpread x
|
|||||||
|
|
||||||
field :: Field -> Text
|
field :: Field -> Text
|
||||||
field (Field alias name args ds ss) =
|
field (Field alias name args ds ss) =
|
||||||
optempty (cons ':') alias
|
optempty (`snoc` ':') alias
|
||||||
<> name
|
<> name
|
||||||
<> optempty arguments args
|
<> optempty arguments args
|
||||||
<> optempty directives ds
|
<> optempty directives ds
|
||||||
|
Loading…
Reference in New Issue
Block a user