private String getBaseResolvedType(String type1, String type2, Map<String, Map<String, String>> resolutions) {
        // Try both orderings since the resolution might only be defined one way
        Map<String, String> type1Resolutions = resolutions.get(type1);
        if (type1Resolutions != null && type1Resolutions.containsKey(type2)) {
            return type1Resolutions.get(type2);
        }
        
        Map<String, String> type2Resolutions = resolutions.get(type2);
        if (type2Resolutions != null && type2Resolutions.containsKey(type1)) {
            return type2Resolutions.get(type1);
        }

        return null;
    }
Resolves a type conflict between two Vespa field types.
Uses the type conflict resolution rules defined in the type_conflict_resolution.yml file.
If no resolution is found, returns null.

@param type1 First Vespa field type
@param type2 Second Vespa field type
@return The resolved type, or null if no resolution is found
integration/logstash-plugins/logstash-output-vespa/src/main/java/org/logstashplugins/VespaAppPackageWriter.java