hasura / hasura/graphql-engine

Track all "id_unique" in the GraphQL schema because it is not a valid

Open
#7,546 6 comments 3 reactions 0 assignees View on GitHub
k/bug
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

I restored the database using `Prisma`, and once I go to Hasura and click `Track all` got the following error

`cannot include "accounts.compound_id_unique" in the GraphQL schema because it is not a valid GraphQL identifier.`

![image](https://user-images.githubusercontent.com/34759569/133228275-fba6b907-8946-444b-b28b-1273c0ddd7ef.png)

The workaround which far from ideal.
I removed all unique from the schema, push the schema once again and then `track all` then it worked, and I put unique back.

Is there any solution for this problem?

Hasura: v2.0.9

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.