bdunogier / ezplatform-graphql-bundle

GraphQL server for eZ Platform, the open source Symfony CMS.
13 stars 6 forks source link

Add Trash to the repository schema #20

Open bdunogier opened 6 years ago

bdunogier commented 6 years ago

Add trashItems and trashItem root leafs to the repository schema:

trashItems(query: {ContentTypeIdentifier: "article"})
{
  name
}
trashItem(id: 1)
{
  name
}

The items are similar to locations (TrashItem extends Location), with the added trashed field (datetime).