Hi
I’like to ask how can I possibly create child type resolver using cloud code?
The equivalent of:
const resolvers = {
Book: {
author: async (parent) => {
// get User
}
}
Query: {
books: async ()=>{
// get Books
}
}
}
Many thanks