Skip to content

ISSUE-158: Fix CompletableFuture jsonb generation #160

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 2 commits into from
Feb 14, 2023

Conversation

LoonyRules
Copy link
Contributor

@LoonyRules LoonyRules commented Feb 14, 2023

Similar to #159 but with a slightly different approach. I decided after some more time with the code that it'd be best to update jsonTypes when it's being generated rather than having the dodgy if statements when we iterate through the jsonTypes.values().

I do like the UType.isCFuture() definition though as it creates a better standardisation.
Thoughts?

Fixes #158

Haydon Perrin added 2 commits February 14, 2023 19:42
@LoonyRules LoonyRules changed the title #158: Fix CompletableFuture jsonb generation ISSUE-158: Fix CompletableFuture jsonb generation Feb 14, 2023
@rbygrave rbygrave self-requested a review February 14, 2023 20:03
@rbygrave rbygrave merged commit 4fa12eb into avaje:master Feb 14, 2023
@rbygrave rbygrave added the bug Something isn't working label Feb 14, 2023
@rbygrave rbygrave added this to the 1.27 milestone Feb 14, 2023
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

Successfully merging this pull request may close these issues.

Javalin Controller not writing JsonType variable assignment generated when using a CompletableFuture
2 participants