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

Rewrite to json from bson #3

Merged
merged 7 commits into from
Apr 20, 2022

Conversation

tomburke-rse
Copy link
Collaborator

Most of the API has been moved to JSON.
The function-based mapping still needs to be solved.

Minimal changelog:

  • Change to API, mostly removal of most class arguments.
  • Removal of bson/mongo dependancy
  • add gson dependancy
  • Update tests in accordance

If this all looks fine with you @gselzer, feel free to merge, build and release.

Change to API, removal of most class arguments.
Removal of bson/mongo dep, add gson dep.
Update to tests
@tomburke-rse tomburke-rse requested a review from gselzer April 6, 2022 09:42
Copy link
Contributor

@gselzer gselzer left a comment

Choose a reason for hiding this comment

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

Thanks for this @tomburke-rse! It looks a lot better!

I had some comments, mostly about making the code DRYer.

@gselzer
Copy link
Contributor

gselzer commented Apr 20, 2022

@tomburke-rse at this point it builds with passing tests.

Let's merge (and release) it!

tomburke-rse and others added 6 commits April 20, 2022 13:31
* Reactivate tests
* Method refactoring
Add TypeToken wrapper to circumvent gson dependency in implementing projects
Can all be done on one line.
This prevents vacuous type parameters!
@ctrueden ctrueden force-pushed the switch-bson-with-json branch from ebf4c5a to b658367 Compare April 20, 2022 18:32
@ctrueden
Copy link
Member

I tested all commits and rewrote the message of the WIP commit to reflect that it is not a WIP (it successfully compiles with passing tests). Should be good to merge now, so I'm doing it.

@ctrueden ctrueden merged commit aeb36b7 into scifio:master Apr 20, 2022
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.

3 participants