Can we use UID's obtained from /assign in GraphQL?

Ah yes, apologies. I thought I updated it, but here’s a correct query:

mutation UpdateTest {
  updateTest(input: { 
      filter: { id: "0x1" }, 
      set:  { testResult: { id: "0xa297b6", success: true }}
    }) {
    test {
      id
    }
  }
}

I’m expecting that the above query will create a TestResult with id 0xa297b6 and success: true but I’m met with an error instead. Any help is massively appreciated!