Closed qwertypomy closed 2 months ago
Example 1. Empty array
const employeesQuery = gql` query employees { employees { ...employee } } fragment employee on Employee { id employee_name employee_age employee_salary } `; const employeesResponse = { employees: [], };
Example 2. Scalar
const employeesCountQuery = gql` query employeesCount { employeesCount } `; const employeesCountResponse = { employeesCount: 123, };
I'll try to find some quick solution, please let me know if you can point me in the right direction
Example 1. Empty array
Example 2. Scalar
I'll try to find some quick solution, please let me know if you can point me in the right direction