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/yggdrasil feature enabled #259

Open
wants to merge 2 commits into
base: yggdrasil-engine
Choose a base branch
from

Conversation

sighphyre
Copy link
Member

Forces the Java SDK to resolve feature enabled from Yggdrasil rather than computing it separately from isEnabled + getVariant

@@ -22,7 +22,14 @@ public String getToggleName() {

public Variant getExpectedResult() {
if (expectedResult.getName().equals("disabled")) {
return Variant.DISABLED_VARIANT;
Variant clone =
new Variant(
Copy link
Member Author

@sighphyre sighphyre Jan 8, 2025

Choose a reason for hiding this comment

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

This seems really dumb, is there a better way to clone an object without making a copy constructor?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant