Currently working on a Vue CLI project where I am utilizing axios as my request library. In all the examples I've come across, they use strings for queries like this:
{
hero {
name
friends {
name
}
}
}
Given that I am employing typescript and have typings for the entities, I am curious if there is a method to generate the query using a more streamlined approach such as a fluent framework. This way, I can take advantage of intellisense rather than relying solely on plain strings.