Skip to content

Commit

Permalink
fix(core): correctly serialize property affordances
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Nov 1, 2024
1 parent 90e0622 commit 3040118
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Property extends InteractionAffordance implements DataSchema {
super.uriVariables,
super.additionalFields,
required this.dataSchema,
this.observable = false,
this.observable = _defaultObservableValue,
});

/// Creates a new [Property] from a [json] object.
Expand Down Expand Up @@ -51,6 +51,7 @@ class Property extends InteractionAffordance implements DataSchema {
return property;
}

@override
/// The internal [DataSchema] this property is based on.
final DataSchema dataSchema;

Expand Down

0 comments on commit 3040118

Please sign in to comment.