Skip to content

fix(java): use batch and class in playground and doc #696

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

Merged
merged 4 commits into from
Jun 15, 2022

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Jun 15, 2022

🧭 What and Why

The JSON serializer Gson is quite shitty and it would be great to change to jackson before it's too late,
it cannot handle any form of HashMap or else it requires lots of custom code with heavy reflection.

Changes included:

  • Use simple HashMap in doc and playground

🧪 Test

yarn docker playground java search

@millotp millotp self-assigned this Jun 15, 2022
@millotp millotp marked this pull request as ready for review June 15, 2022 10:07
@netlify
Copy link

netlify bot commented Jun 15, 2022

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit 290c069
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/62aa007928b43e0008230921
😎 Deploy Preview https://deploy-preview-696--api-clients-automation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jun 15, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@millotp millotp requested review from a team, damcou and shortcuts and removed request for a team June 15, 2022 10:09
@millotp millotp requested a review from shortcuts June 15, 2022 15:54
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

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

Nice! Could you just make the title more descriptive to the client change? (as the squash commit will be in the changelog of the next release)

@millotp millotp changed the title fix(java): saveObject in playground and doc fix(java): use batch and class in playground and doc Jun 15, 2022
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

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

nice!

@millotp millotp merged commit 38c0ddc into main Jun 15, 2022
@millotp millotp deleted the fix/java-playgorund branch June 15, 2022 16:03
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Jun 15, 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