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

Replace Vert.x Buffer.toJson() method with Buffer.toJsonValue() #39712

Closed
cescoffier opened this issue Mar 26, 2024 · 3 comments · Fixed by #40695
Closed

Replace Vert.x Buffer.toJson() method with Buffer.toJsonValue() #39712

cescoffier opened this issue Mar 26, 2024 · 3 comments · Fixed by #40695
Labels
area/vertx kind/bug Something isn't working
Milestone

Comments

@cescoffier
Copy link
Member

Describe the bug

It's not really a bug, but currently, Quarkus uses a deprecated method: Buffer.toJson(). This method will be removed at some point. It was replaced with Buffer.toJsonValue(). We should replace our calls.

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@cescoffier cescoffier added the kind/bug Something isn't working label Mar 26, 2024
@geoand
Copy link
Contributor

geoand commented Mar 27, 2024

Are you sure we are using it?

My IDE could not find any usages of io.vertx.core.buffer.Buffer#toJson or io.vertx.mutiny.core.buffer.Buffer#toJson

@cescoffier
Copy link
Member Author

I think we use it in Redis.

That being said, I may already have made the change - I just forgot.

@geoand
Copy link
Contributor

geoand commented Mar 27, 2024

Very likely :)

geoand added a commit to geoand/quarkus that referenced this issue May 17, 2024
@quarkus-bot quarkus-bot bot added this to the 3.12 - main milestone May 19, 2024
holly-cummins pushed a commit to holly-cummins/quarkus that referenced this issue Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vertx kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants