Error apollo raect

Hola! Tenemos este problema al intentar ejecutar un query usando apollo con react

esta es la estructura de una de las tablas :

este el query que intentamos llamar:

import {gql} from "@apollo/client";

const GET_CLIENTS = gql`
  query clients ($uid: ID, $page: Int, $limit: Int) {
    clients (uid: $uid, page: $page, limit: $limit) {
      uid
      createdAt
      phone
      author
      name
      updatedAt
    }
  }
`;

export default GET_CLIENTS

y este el error que obtenemos:


{
    "errors": [
        {
            "message": "Request finished with status code 500: Internal Server Error. Details: Bad collection configuration object: no endpoint configuration found."
        }
    ],
    "data": {
        "clients": null
    },
    "extensions": {
        "info": {}
    }
}

Please authenticate to join the conversation.

Upvoters
Status

In Progress

Board

⭐️ Wishlist

Tags

GraphQl API

Date

5 months ago

Author

David Esteban Gomez Holguin

Subscribe to post

Get notified by email when there are changes.