mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
aa18f65217
It's about time. To do this I had to check a few more boxes. * I copied the flags from `graphql-engine.cabal` to the libraries in `server/lib`. * I moved `Cacheable` instances of schema parser types beside the typeclass declaration. * I removed imports of `Hasura.Prelude` from the tests, and rewrote them accordingly. * I copied the `TestMonad` parse monad into `server/src-test/Hasura/GraphQL/Schema/RemoteTest.hs`, which was using it. I think this could be done with the real thing, but I tried replacing it with constraints and it messed with my head somewhat. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5311 GitOrigin-RevId: ebebcc50a16f2d517b7f730fe72410827ca3e86c
47 lines
760 B
YAML
47 lines
760 B
YAML
spec-version: 0.34.7
|
|
|
|
name: hasura-error-message
|
|
description: >
|
|
An error message type that makes it difficult to convert back to text.
|
|
|
|
_common: !include "../common.yaml"
|
|
<<: *common-boilerplate
|
|
<<: *common-lib
|
|
|
|
default-extensions:
|
|
- BlockArguments
|
|
- DerivingStrategies
|
|
- GeneralizedNewtypeDeriving
|
|
- ImportQualifiedPost
|
|
- OverloadedStrings
|
|
- ScopedTypeVariables
|
|
|
|
library:
|
|
source-dirs:
|
|
- src
|
|
dependencies:
|
|
- base
|
|
|
|
- aeson
|
|
- graphql-parser
|
|
- text
|
|
- unordered-containers
|
|
|
|
tests:
|
|
tests:
|
|
source-dirs:
|
|
- test
|
|
main: Main
|
|
dependencies:
|
|
- hasura-error-message
|
|
|
|
- base
|
|
- hspec
|
|
|
|
- aeson
|
|
- graphql-parser
|
|
- hashable
|
|
- text
|
|
- unordered-containers
|
|
- vector
|