I am learning GrpahQLÂ
-----------list query
query {
 listMonitoring(
  sort: { regenerationTime: DESC }
  filter: { and: { cycleStartTime: { gte: "2024-01-01T00:00:00+00:00" } }
           { cycleEndTime: { lt: "2024-02-01T00:00:00+00:00" } }
           { unitName: { eq: "UNIT-II" } } ] }
  first: 1
 ) {
  items {
   unitName
   cycleStartTime
   regenerationTime
   timeUOM { description }
  }
 }
}
-----Aggregated query
query {
 aggregateMonitoring (Â
  groupBy: b unitName ]Â
  filter: { and: { cycleStartTime: { gte: "2024-01-01T00:00:00+00:00" } }Â
           { cycleEndTime: { lt: "2024-02-01T00:00:00+00:00" } }
           { unitName: { eq: "UNIT-II" } } ] } ) {Â
  items {
   count {Â
    cycleNumberÂ
   }
   sum {
    idleTime
    cycleTime
   }    Â
   group
 }}}
Is there a way to get related type field timeUOM { description } in the output