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

feat: adding on-demand default evaluation #534

Merged
merged 9 commits into from
May 23, 2024

Conversation

Andrapyre
Copy link
Contributor

@Andrapyre Andrapyre commented May 21, 2024

Description

Currently, all default values are precompiled. This has led to random generators, such as random UUID.randomUUID() and Instant.now() being memoized (see zio/zio-json#1055). This PR adds an option to evaluate default parameters on-demand. See the accompanying PR for Scala 2 support: #533

@adamw adamw merged commit c9656f3 into softwaremill:scala3 May 23, 2024
4 checks passed
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.

2 participants