src/definition/entity/container.js
function _getNode(nodePath, extendedConfiguration) {
    checkIsString('nodePath', nodePath);
    if (!entitiesMap.hasIn(nodePath.split(SEPARATOR))) {
        console.warn(`
            It seems the definition your are trying to use does not exists in the entity definitions of your project.
            The definition you want is ${nodePath} and the definition map is:
            `, entitiesMap.toJS()
        );
        throw new Error('Wrong definition path given, see waning for more details');
    }
    let conf = entitiesMap.getIn(nodePath.split(SEPARATOR));
    if (extendedConfiguration) {
        checkIsObject(extendedConfiguration);
        conf = conf.mergeDeep(extendedConfiguration);
    }
    return conf;
}
function _getNode(nodePath, extendedConfiguration) {
    checkIsString('nodePath', nodePath);
    if (!entitiesMap.hasIn(nodePath.split(SEPARATOR))) {
        console.warn(`
            It seems the definition your are trying to use does not exists in the entity definitions of your project.
            The definition you want is ${nodePath} and the definition map is:
            `, entitiesMap.toJS()
        );
        throw new Error('Wrong definition path given, see waning for more details');
    }
    let conf = entitiesMap.getIn(nodePath.split(SEPARATOR));
    if (extendedConfiguration) {
        checkIsObject(extendedConfiguration);
        conf = conf.mergeDeep(extendedConfiguration);
    }
    return conf;
}
function _getNode ( nodePath , extendedConfiguration ) { checkIsString ( 'nodePath' , nodePath ) ; if ( ! entitiesMap . hasIn ( nodePath . split ( SEPARATOR ) ) ) { console . warn ( ` ${ nodePath } ` , entitiesMap . toJS ( ) ) ; throw new Error ( 'Wrong definition path given, see waning for more details' ) ; } let conf = entitiesMap . getIn ( nodePath . split ( SEPARATOR ) ) ; if ( extendedConfiguration ) { checkIsObject ( extendedConfiguration ) ; conf = conf . mergeDeep ( extendedConfiguration ) ; } return conf ; }
Get a node configuration given a node path "obj.prop.subProp".
@param {string} nodePath - The node path you want to get.
@param {object} extendedConfiguration - The object to extend the config.
@return {object} - The node configuration.
Get a node configuration given a node path obj . prop . subProp .