Closed chris-visser closed 2 years ago
@chris-visser This feature is currently being worked on, and would follow the same implementation as per Gql Functions
hence usage would be as follows:
export default defineEventHandler(async (event) => {
const result = await GqlGetTodos(variables)
})
Ahh nice! Really appreciate your work on this library and the timely response. Keep up the great work. Wish more gql clients would have a similar approach
Is there a way to expose the client in nitro / server routes? My proposal would be along the lines of: