function printFields()

in src/printers.ts [170:182]


function printFields(type) {
    const fields = objectValues(type.getFields()).map(
        (f, i) =>
            printDescription(f, '  ', !i) +
            '  ' +
            f.name +
            printArgs(f.args, '  ') +
            ': ' +
            String(f.type) +
            printDirectiveField(f),
    );
    return printBlock(type, fields);
}