useCustom GraphQL query
Can you show me how to go about setting up useCustom hook for this query? I'm using NestJS-Query a backend.
The query:
The query:
export const USER_BUSINESSES = gql`
query GetUserBusinesses($userId: String!) {
userBusinesses(userId: $userId) {
id
name
}
}
`;