Skip to content

Suggest to specify ref when there are multiple 1:many edges declared for an ent #16

@xixixao

Description

@xixixao

Right now the error says:

400 Bad Request: Error: Hit an error while evaluating your schema:
Uncaught Error: Edge "from" in table "users" has too many potential inverse edges in table "friend_requests": "from", "to"
    at defineEntSchema (../node_modules/convex-ents/src/schema.ts:63:10)
    at <anonymous> (../convex/schema.ts:6:2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions