Tag: lighthouse
-
@belongsToMany with @paginate
0 Simple models, we have a user and a user is part of topics. The linking is done through a pivot table. Both users and topics have the correct relationships. The query works. But. Now we need to add the pagination to it. type User { id: ID! uuid: String! email: String! api_token: String! devices:…
-
error SATISFIABILITY_ERROR when check the schema
0 I tried to use Federation in my supergraph. I have 2 microservices, each one with the own schema: 1. first subgraph has: type User @key(fields: id) @guard { id: ID! firstname: String! } 2. second subgraph has: type GraphUnion { id: ID! user_id: Int text: String user: User! @hasOne } type User @extends @key(fields:…