graphql-engine/server/src-lib/Hasura/GraphQL/Parser/Collect.hs-boot
Antoine Leblanc 5238bb8011 server: support for custom directives
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: f11b3b2e964af4860c3bb0fd9efec6be54c2e88b
2021-05-20 10:03:50 +00:00

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))