Module

Prospero.Execution

Package
purescript-prospero
Repository
rowtype-yoga/purescript-prospero

#FieldInfo Source

type FieldInfo = { fieldName :: String, responseKey :: String }

#FieldWrapperFn Source

type FieldWrapperFn :: Type -> Row Type -> Typetype FieldWrapperFn ctx errs = String -> String -> Om ctx errs ResponseValue -> Om ctx errs ResponseValue

#executeStep Source

executeStep :: forall ctx errs. Array (FieldWrapperFn ctx errs) -> Array Selection -> Step ctx errs -> Om ctx errs ResponseValue

#executeObject Source

executeObject :: forall ctx errs. Array (FieldWrapperFn ctx errs) -> String -> Array Selection -> Map String (Step ctx errs) -> Om ctx errs ResponseValue

#applySelections Source

applySelections :: forall ctx errs. Array Selection -> ResponseValue -> Om ctx errs ResponseValue