Not able to query slice-machine slices with graphQuery

@Phil Amazing, this worked! Definitely the documentation needs to be updated to mention the changes for slice machine

I was able to make it slightly shorter using

  page{
    ...pageFields
    slices{
      ...on form_section{
        variation{
          ...on default-slice{
            primary{
              title
              formLink{
                ...on form{
                  ...formFields
                }
              }
            }
          }
        }
      }
    }
  }

Also thanks a lot for the tips and help - the API browser is the way to go for now to build up the queries!

Regarding why I've created the Form logic in this way is because I wanted to:

  • have reusable forms across the website (thus created the Form custom type)
  • have variation for fields
  • Have the ability have radio boxes/check boxes (meaning I could use a simple group field)
1 Like