For relational collections, using different field instead of ID to create entries by using GraphQL API

I am using graphql api to create an entry with reletional field. But instead of ID of the related field, I want to use my custom UUID(custom field) to connect them.

for example here, restaurants: [“1”, “2”] the relations are defined by ID, but I want to use UUID or slug or something else. is it possible?

mutation {
  createUser(
    data: {
      username: "John"
      email: "john@doe.com"
      restaurants: ["1", "2"]
    }
  ) {
    data {
      id
      attributes {
        username
        email
        restaurants {
          data {
            id 
            attributes {
              name
              description
              price
            }
          }
        }
      }
    }
  }
}

Hi,
As I see it Strapi needs these internal keys to work, metedata and all that.
If you need external synthetic keys then you create a unique column and use that as your key for all transactions and work, however then need to write custom Stapi API calls or lifecycle hooks to find the internal strapi id based on the unique synthetic key

This is how we have done it anyway