Skip to content

Commit

Permalink
refactor!: align GraphQL types to conform with database and Hasura st…
Browse files Browse the repository at this point in the history
…ring casts

- configures Hasura to cast number that have potential to overflow JS 32-bit
integers, including `numeric` and `bigint`, as strings.
  • Loading branch information
iadmytro authored and rhyslbw committed Feb 3, 2023
1 parent dcd56d8 commit ad4e736
Show file tree
Hide file tree
Showing 11 changed files with 227 additions and 218 deletions.
3 changes: 2 additions & 1 deletion packages/api-cardano-db-hasura/hasura/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ ENV \
POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password \
POSTGRES_USER_FILE=/run/secrets/postgres_user \
HASURA_GRAPHQL_ENABLED_LOG_TYPES="startup, http-log, webhook-log, websocket-log" \
HASURA_GRAPHQL_ENABLE_TELEMETRY=false
HASURA_GRAPHQL_ENABLE_TELEMETRY=false \
HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES=true
EXPOSE 8080
Loading

0 comments on commit ad4e736

Please sign in to comment.