-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
What is the expected behaviour?
The stringify-numeric-types flag / HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES env variable makes the server stringify certain Postgres numeric types such as bigint that might be too big to represent as a JSON number.
What is the current behaviour?
Despite enabling the stringify-numeric-types flag, when I perform a query that traverses a remote database relationship, a bigint field is being returned as a JSON number instead of a string.
Screenshots
If I query the users table directly, then the steam_id field (which is a bigint) is returned as a string, as expected:
However, if I traverse a remote database relationship, then the steam_id field is returned as a number:
Here, lf_inspections is a table in another postgres database, and player is a remote database relationship I've defined that connects it to the same users table from the previous query.
Version Information
Hasura server: v2.4.0
Main Hasura db with users table: Postgres v14.2
Other db with lf_inspections table: Postgres v12.9