diff --git a/DragonFruit.Common.Data/Serializers/SerializerResolver.cs b/DragonFruit.Common.Data/Serializers/SerializerResolver.cs index 0cc458c..916b4f7 100644 --- a/DragonFruit.Common.Data/Serializers/SerializerResolver.cs +++ b/DragonFruit.Common.Data/Serializers/SerializerResolver.cs @@ -81,7 +81,7 @@ public static void Unregister(DataDirection direction = DataDirection.All) /// public ISerializer Resolve(Type objectType, DataDirection direction) { - if (objectType.IsClass) + if (!objectType.IsClass) { // at this point in time, we only support non-generic class // this is because this isn't designed to filter generic types