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

Allow property mapping customizations for collection properties #598

Conversation

andreas-schilling
Copy link
Contributor

This PR implements the smaller part of #547 and now allows to customize the mapping of collection valued properties from the outside through a PropertyMapper.
Additionally, this PR fixes two related issues that have been found during development:

  • Set the content type of BLOBs which will be used if a collection property of scalars can't be converted to a proper type. Without this, tools like the AASX explorer refuse to load the resulting AASX file
  • Extend the LangStringPropertyMapper to also work with collection properties directly, where the single language entries are given as separate objects within a collection

…-customization

# Conflicts:
#	core/esmf-aspect-model-aas-generator/src/test/java/org/eclipse/esmf/aspectmodel/aas/AspectModelAasGeneratorTest.java
Copy link
Contributor

@atextor atextor left a comment

Choose a reason for hiding this comment

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

LGTM!

@andreas-schilling andreas-schilling merged commit e96699e into eclipse-esmf:main Jul 9, 2024
4 checks passed
@andreas-schilling andreas-schilling deleted the feature/547-allow-collectionproperty-mapping-customization branch July 9, 2024 08:12
Copy link

Release v2.9.0 addresses this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants