Extract the domain of the specified field from the metadata. If the type can not be found, return 'string'.
Layer configuration.
Field name for which we want to get the domain.
The type of the field.
Extract the domain of the specified field from the metadata. If the type can not be found, return 'string'.