You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
When a child property couldn't be found, it shouldn't throw an IllegalStateException instead it should ignored, since obviously the SDK version don't support the property. Maybe log it.
String childClassName = null;
Object val = data.get(childIdProperty);
if (val != null) {
childClassName = String.valueOf(val);
}
Class<? extends R> childClass = idClassMap.get(childClassName);
if (childClass == null) {
throw new IllegalStateException("No Class mapping could be found for " + childIdProperty + ".");
}
When a child property couldn't be found, it shouldn't throw an
IllegalStateExceptioninstead it should ignored, since obviously the SDK version don't support the property. Maybe log it.