Query nested field in Apollo Client

Do you know to query this in Apollo Client?
query {

  1. List item

portfolioQuery {
portfolioID
title
createAt
updateAt
url {
LinkID
url
codeURL
}
}
}

1 Like

You mean something like this?

query portfolioQuery($id: ID!) {
  portfolio(id: $id) {
    id
    title
    createdAt
    updatedAt
    link {
      id
      url
      code
    }
  }
}