Mutation resolver with @relation directive

Hello everyone, I’m a newbie at apollo server. I’m using FaunaBD and Apollo server for my graphql server in a serverless function. I’m following the todo app tutorial on the FaunaDB docs and writing resolvers for the server. I’d like to write a resolver for creating a todo item and connect it to the list type that uses @relation in the schema definition. Can anyone suggest documentation or example on how this resolver would look like?