diff --git a/api/src/main/java/marquez/service/models/EventTypeResolver.java b/api/src/main/java/marquez/service/models/EventTypeResolver.java index ec8ce3cd48..15aab272a3 100644 --- a/api/src/main/java/marquez/service/models/EventTypeResolver.java +++ b/api/src/main/java/marquez/service/models/EventTypeResolver.java @@ -50,12 +50,14 @@ public void init(JavaType baseType) { @Override public String idFromValue(Object value) { - return null; + return idFromValueAndType(value, value.getClass()); } @Override public String idFromValueAndType(Object value, Class suggestedType) { - return null; + // FIXME: We are hardcoding the 'eventType' for now as we currently don't support static + // lineage! + return "eventType"; } @Override