Skip to content

chore: [ANDROSDK-2288-DATAELEMENT] Migrate DataElement#2596

Merged
vgarciabnz merged 2 commits intodevelopfrom
ANDROSDK-2288-dataelement
May 7, 2026
Merged

chore: [ANDROSDK-2288-DATAELEMENT] Migrate DataElement#2596
vgarciabnz merged 2 commits intodevelopfrom
ANDROSDK-2288-dataelement

Conversation

@vgarciabnz
Copy link
Copy Markdown
Member

This model migration introduces the question about the ObjectStyle default value. In the legacy DataElement class, the default value was specified in the builder. It has been kept in the new builder as well. But it does not apply to the default constructor. We can consider if this is something that should go to the network layer.

val dataElementsUids = dataElementCollectionRepository
.byValueType().`in`(ValueType.FILE_RESOURCE, ValueType.IMAGE)
.suspendGet().map(DataElement::uid)
.suspendGet().map { it.uid }
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is required because of an ambiguity in the name. Now we have uid() and uid, and it is not able to differentiate the function reference.

@vgarciabnz vgarciabnz force-pushed the ANDROSDK-2288-dataelement branch from 04635e6 to 522c8c6 Compare May 6, 2026 15:57
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

@vgarciabnz vgarciabnz merged commit e63ccfb into develop May 7, 2026
11 checks passed
@vgarciabnz vgarciabnz deleted the ANDROSDK-2288-dataelement branch May 7, 2026 07:08
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