graphql-engine/server/lib/error-message/package.yaml
Samir Talwar 87456360ad server: Move ErrorMessage to its own package.
This is now the sole in-universe dependency of the schema parsers. As
such, we need to extract it as a library before we can extract the
schema parsers as a library.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5202
GitOrigin-RevId: fbe571855768e56dc8b8e259b8efe900de3ecc54
2022-07-27 04:38:12 +00:00

54 lines
835 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.
version: 1.0.0
author:
- Hasura, Inc.
github: hasura/github-engine
extra-source-files:
- ../../../LICENSE
ghc-options:
- "-Wall"
- "-Werror"
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