From 9414dc5dfb00b2138a831ca875ac4810f31847db Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Sun, 2 Jun 2024 20:00:14 +0200 Subject: [PATCH] fixup! feat!: improve deserialization logic --- lib/src/core/implementation/exposed_thing.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/core/implementation/exposed_thing.dart b/lib/src/core/implementation/exposed_thing.dart index 2e1d3a57..1a2e6635 100644 --- a/lib/src/core/implementation/exposed_thing.dart +++ b/lib/src/core/implementation/exposed_thing.dart @@ -13,8 +13,7 @@ import "servient.dart"; class ExposedThing implements scripting_api.ExposedThing { /// Creates a new [ExposedThing] from a [servient] and an [exposedThingInit]. ExposedThing(this.servient, scripting_api.ExposedThingInit exposedThingInit) - : thingDescription = - ThingDescription.fromJson(exposedThingInit, validate: false); + : thingDescription = ThingDescription.fromJson(exposedThingInit); @override final ThingDescription thingDescription;