function printObject()

in src/printers.ts [110:120]


function printObject(type: GraphQLObjectType): string {
    const interfaces = type.getInterfaces();
    const implementedInterfaces = interfaces.length
        ? ' implements ' + interfaces.map((i) => i.name).join(' & ')
        : '';
    return (
        printDescription(type) +
        `type ${type.name}${implementedInterfaces}` +
        printFields(type)
    );
}