src/types/generateTypeDefs.js
function generateTypeDefs(models) {

    types = Object.assign({}, types, getCustomTypeDefs());

    _.forEach(models, (model) => {
        mapType(model);
        mapInputType(model);
    });

    return types;
}
function generateTypeDefs(models) {

    types = Object.assign({}, types, getCustomTypeDefs());

    _.forEach(models, (model) => {
        mapType(model);
        mapInputType(model);
    });

    return types;
}
function generateTypeDefs ( models ) { types = Object . assign ( { } , types , getCustomTypeDefs ( ) ) ; _ . forEach ( models , ( model ) => { mapType ( model ) ; mapInputType ( model ) ; } ) ; return types ; }
building all models types & relationships
building all models types & relationships