# GraphQL schema with relationships type User { id: ID! email: String! name: String! posts: [Post!]! } type Post { id: ID! title: String! content: String published: Boolean! author: User! }