console: view relationship rows in data browser break for relationhips with bigint fkeys
See original GitHub issueI’m running v1.1.1 and having the following error when clicking on “View” for some table relationships in the console.
TypeError: Cannot read property 'user' of undefined
at https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v1.1/main.js.gz:1:3306984
at Array.map (<anonymous>)
at e (https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v1.1/main.js.gz:1:3306937)
at n (https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v1.1/main.js.gz:1:3311060)
at ho (https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v1.1/vendor.js.gz:1:2735842)
at Wo (https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v1.1/vendor.js.gz:1:2742798)
at Xo (https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v1.1/vendor.js.gz:1:2749148)
at fs (https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v1.1/vendor.js.gz:1:2771675)
at ds (https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v1.1/vendor.js.gz:1:2772065)
at Js (https://graphql-engine-cdn.hasura.io/console/assets/channel/stable/v1.1/vendor.js.gz:1:2779243)
I tried to reload metadata with no success.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Create and manage foreign key relationships | Cloud Spanner
This page describes how to manage foreign key relationships in your database. Foreign keys allow you to define relationships between tables.
Read more >Database Engine events and errors - SQL Server
Consult this MSSQL error code list to find explanations for error messages for SQL Server database engine events.
Read more >An Intermediate MySQL Tutorial - Scripting, Data Types ...
This article explains some concepts in depth, such as scripting and data types. ... Junction table created to support many-to-many relationship between two ......
Read more >IBM Cognos Analytics Version 11.1 : Data Modeling Guide
In the Diagram settings box, select the Cardinality check box to show the cardinality of relationships between different tables in your data module....
Read more >Prisma Client API (Reference)
Programmatically overrides properties of the datasource block in the schema.prisma file - for example, as part of an integration test. See also: Data...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This issue gets fixed once you set the
HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES
env var while running the GraphQL Engine. See server config reference. This happens due to the max size of integers supported in JSON which is not sufficient to store PG bigint sClosing this issue. Please feel free to reopen if there are further questions or some other thoughts to add