Skip to content

tm:ref references not resolved recursively in Thing Models #2204

@hu-ahmed

Description

@hu-ahmed

When creating Things with complex Thing Models that contain nested tm:ref references, Ditto was only resolving the first level of references. This caused properties with nested tm:ref to remain unresolved, resulting in null values for required properties in generated Thing skeletons and subsequent validation errors.

Solution
Refactor the model resolution logic to recursively resolve all tm:ref references at any depth in the Thing Model JSON structure.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions