Skip to content

Entity represents an entity that may not be available to the current caller. Multiple reasons may restrict this access, such as if the user has left a company, or if the user used his GDPR right to delete his account.

Entity should be returned by the schema when accessing such a user cannot be predicted by the caller. Any attempt to access a user should return a User or throw an exception.

graphql
interface Entity {
  id: ID!
  name: String!
  hasAvatar: Boolean!
}

Fields ​

Entity.id ● ID! non-null scalar ​

Entity.name ● String! non-null scalar ​

Entity.hasAvatar ● Boolean! non-null scalar ​

Member Of ​

Montage object ● Rendition object

Implemented By ​

User object ● Workspace object