IQSS / IQSS/dataverse-client-javascript
Return file info in `GetPrivateUrlDataset` use case
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 20
- Forks
- 11
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 1
Description
The dataverse API for retrieving a dataset using a private URL /api/datasets/privateUrlDatasetVersion/... returns information about dataset files, but the transformer used by the GetPrivateUrlDataset use case doesn't transform it, so it's not returned:
It would be useful to receive the file info from that use case.
Should the use case/transformer be extended? If yes, I'd be open to creating a PR for that.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/datasets/infra/repositories/DatasetsRepository.ts at the GetPrivateUrlDataset transformer referenced by the issue. Inspect how the private URL dataset response is transformed and how file information is handled elsewhere. Done means the use case returns the dataset file information provided by the API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100