grand-stack / grand-stack-starter

Simple starter project for GRANDstack full stack apps

Home Page:https://grandstack.io/docs/getting-started-grand-stack-starter.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inferschema not able to create all relations

idrtabd opened this issue · comments

I have a couple relationships, EDITEDBY and AUTHORED by that has a lot of instances. Each entity has an editeby relationship to a user entity. Inferschema creates this relationship for some entities, but not all. There are no errors, just the relationships don't get created in the schema.graphql file.

This does work when I rename each relationship so they have distinct names between entities. For example, CUSTOMER_EDITEDBY, or PO_EDITEDBY.
https://grandstack.io/docs/infer-graphql-schema-database/