mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 21:12:09 +03:00
5238bb8011
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com> GitOrigin-RevId: f11b3b2e964af4860c3bb0fd9efec6be54c2e88b
15 lines
371 B
Haskell
15 lines
371 B
Haskell
module Hasura.GraphQL.Parser.Collect where
|
|
|
|
import Hasura.Prelude
|
|
|
|
import Language.GraphQL.Draft.Syntax
|
|
|
|
import Hasura.GraphQL.Parser.Class
|
|
import Hasura.GraphQL.Parser.Schema
|
|
|
|
collectFields
|
|
:: (MonadParse m, Foldable t)
|
|
=> t Name
|
|
-> SelectionSet NoFragments Variable
|
|
-> m (InsOrdHashMap Name (Field NoFragments Variable))
|