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

Problem serialising Mono<Double> / Mono<Float> #60

Open
kingkong-AI opened this issue Jun 6, 2024 · 0 comments
Open

Problem serialising Mono<Double> / Mono<Float> #60

kingkong-AI opened this issue Jun 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kingkong-AI
Copy link
Contributor

Describe the bug

When using Double and Float data types in a a Webflux project, the sdk fails to properly serialize them and hence gives wrong outputs on direct invoke.
image

Reproduction steps

  1. Run the project with unlogged sdk and plugin.
  2. Go to VarKeywordController.java class in unlogged-spring-webflux-maven-demo.
  3. Direct invoke the controllers getDoubleVar() and getFloatVar().
  4. You will receive very large numbers as output as shown in the image.

Expected behavior

Correct outputs should be visible. If in getFloatVar(float n), the input is 1, the output should be 10.0
Similarly for getDoubleVar.

Additional context

No response

@kingkong-AI kingkong-AI added the bug Something isn't working label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant