Try out Relationship Queries

Let's explore the GraphQL APIs for the relationship created.

query {
todos {
id
title
user {
id
name
}
}
}

You can see the response in the following format:

relationship query

As you can see, in the same response, you are getting the results for the user's information, exactly like you queried. This is a simple example of a one-to-one query/object relationship.