Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix resolving WoT submodels from extended model #2069

Merged

Conversation

thjaeckle
Copy link
Member

  • right now Ditto tm:extends resolving does not preserve the "extended" submodels from a parent model because merging of arrays will replace array content
  • this provides a fix to add special handling for merging the "links" array

* right now Ditto `tm:extends` resolving does not preserve the "extended" submodels from a parent model because merging of arrays will replace array content
* this provides a fix to add special handling for merging the "links" array
@thjaeckle thjaeckle added bug WoT Web of Things related enhancements labels Nov 26, 2024
@thjaeckle thjaeckle added this to the 3.6.3 milestone Nov 26, 2024
@thjaeckle thjaeckle self-assigned this Nov 26, 2024
@thjaeckle
Copy link
Member Author

@alstanchev I would like to also add this fix for the upcoming 3.6.3 release.
We noticed that when applying some more complex extension hierarchies in WoT models.

Copy link
Contributor

@alstanchev alstanchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@thjaeckle thjaeckle merged commit 56eb19b into eclipse-ditto:master Nov 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug WoT Web of Things related enhancements
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants