private fun generatePermissionEntryEnum(name: String, description: String, entryCollections: Collection<PermissionEntryCollection<*>>): GraphQLEnumType
Generates a GraphQLEnumType based on a list of PermissionEntryCollection
Return
the generated enum type
Parameters
name
the name of the enum type
description
the description of the enum type
entryCollections
used to build enum entries, must not contain duplicate names
Throws
if duplicate names are found