Generic object query

The generic object() query can be used to retrieve any object in the Content Engine even if there is not a specific query method available for that type of object.
The following example retrieves a custom Role object:
{
  object(
    repositoryIdentifier:"OS1"
    classIdentifier:"CustomRole"
    identifier:"{D34D69DC-7359-45D9-9FCE-0C0711A49F07}"
  )
  {
    className
    properties(includes:["CustomInteger","CustomString"]) {
      id
      type
      cardinality
      label
      value
    }
  }
}