src/definition/entity/builder.js
function getFieldInformations(fieldName, complementaryInformation) {
    checkIsString('fieldName', fieldName);
    checkIsObject('complementaryInformation', complementaryInformation);
    const fieldPath = fieldName.split(SEPARATOR);
    if (computedEntityContainer.hasIn(fieldPath)) {
        return computedEntityContainer.getIn(fieldPath).toJS();
    }
    return _buildFieldInformation(fieldPath).mergeDeep(complementaryInformation).toJS();
}
function getFieldInformations(fieldName, complementaryInformation) {
    checkIsString('fieldName', fieldName);
    checkIsObject('complementaryInformation', complementaryInformation);
    const fieldPath = fieldName.split(SEPARATOR);
    if (computedEntityContainer.hasIn(fieldPath)) {
        return computedEntityContainer.getIn(fieldPath).toJS();
    }
    return _buildFieldInformation(fieldPath).mergeDeep(complementaryInformation).toJS();
}
function getFieldInformations ( fieldName , complementaryInformation ) { checkIsString ( 'fieldName' , fieldName ) ; checkIsObject ( 'complementaryInformation' , complementaryInformation ) ; const fieldPath = fieldName . split ( SEPARATOR ) ; if ( computedEntityContainer . hasIn ( fieldPath ) ) { return computedEntityContainer . getIn ( fieldPath ) . toJS ( ) ; } return _buildFieldInformation ( fieldPath ) . mergeDeep ( complementaryInformation ) . toJS ( ) ; }
Get the field informations.
@param {string} fieldName - name or path of the field.
@param {object} complementaryInformation - Additional informations to extend the domain informations.
@return {object} - The builded field informations.
Get the field informations .