I haven't done that before but it could be done if the datamodel in your schema reflects your underlying datamodel I guess? For the project I work on, we use eventsourcing so our graphql schema doesn't reflect the actual data stored, not exactly anyway.