Skip to content

Commit

Permalink
fixup! feat!: improve deserialization logic
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jun 2, 2024
1 parent 423cc9e commit 9414dc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/core/implementation/exposed_thing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9414dc5

Please sign in to comment.