This release brings full type support for gql.tada
#206
import { graphql } from 'gql.tada';
import { useQuery } from 'villus';
const getBooksQuery = graphql(`
query GetBooks {
books {
id
title
}
}
`);
const { data, error } = useQuery({
query: getBooksQuery
});