镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

feat: add optional datasetType to DatasetDTO and include in transform… - #354

Draft
jp-tosca wants to merge 1 commit into
developfrom
trusted_data
Draft

jp-tosca wants to merge 1 commit into
developfrom
trusted_data

Conversation

@jp-tosca

Copy link
Copy Markdown
Contributor

This pull request introduces support for handling the datasetType property in the dataset DTO and ensures it is correctly included in payload transformations. The main changes are grouped by DTO updates and transformer logic enhancements.

DTO updates:

  • Added an optional datasetType property to the DatasetDTO interface in src/datasets/domain/dtos/DatasetDTO.ts, allowing datasets to specify their type.

Transformer logic enhancements:

  • Updated the transformDatasetModelToNewDatasetRequestPayload function in src/datasets/infra/repositories/transformers/datasetTransformers.ts to conditionally include datasetType in the payload if it is present in the dataset.

pdurbin added a commit to pdurbin/dataverse-frontend that referenced this pull request Sep 8, 2025
Note that it depends on this PR:
IQSS/dataverse-client-javascript#354

However, there's a new PR to try instead:
IQSS/dataverse-client-javascript#360
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.

1 participant