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

Difficulties extending this package #25

Open
Gabriel-Besombes opened this issue Feb 28, 2023 · 2 comments
Open

Difficulties extending this package #25

Gabriel-Besombes opened this issue Feb 28, 2023 · 2 comments

Comments

@Gabriel-Besombes
Copy link

Is there a particular reason why a lot of methods are private rather than simply protected or even public?
For example in this file : https://github.com/IQSS/dataverse-client-java/blob/44e37e12d015105afef26df63db4949b538ce2b4/src/main/java/com/researchspace/dataverse/entities/facade/DatasetBuilder.java

For context I'm using this client to interact with an implementation of the dataverse project. The issue is that there are some differencies between the basic dataverse native API and this implementation. There are some aditional optional or mandatory fields. For this reason I wanted to extend a few classes to add these. But this has proven to be quite difficult.

@otter606
Copy link
Contributor

otter606 commented Feb 28, 2023 via email

@Gabriel-Besombes
Copy link
Author

Hi,
Thanks for you quick answer!
I have forked the project and am currently working on these changes.
It might take a few weeks before I'm sure I have changed all I need.
I might also submit an other pr for an issue I have encountered with the "metadataLanguage" field on Dataverses with multiple languages.

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

No branches or pull requests

2 participants