What should i use instead of 'connect' in strapi graphql?

Hi, how can I perform this query with strapi graphql ? I read the docs but there is no operator which is doing same task with “connect”

mutation createAndConnectOne {
  createProduct(
    data: {
      name: "Test"
      slug: "test"
      price: 1000
      category: { connect: { slug: "accessories" } }
    }
  ) {
    id
    name
    category {
      name
    }
  }
}
1 Like

Did you ever find a solution for this?