Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: Convert JSON LDValue into the AiConfig Object #61

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

Open
wants to merge 1 commit into
base: lc/SDK-1192/AI-config-feature-branch
Choose a base branch
from

Conversation

louis-launchdarkly
Copy link

For ease of discussion, implement only the conversion logic from LDValue (that we will get back from the Feature Flag SDK) to the AiConfig DataModel.

This uses the exception-based short circuiting (similar to https://github.com/launchdarkly/dotnet-core/blob/6774539af1a2f87b96ae3e647fdcdc5663c791ab/pkgs/sdk/server-ai/src/LdAiClient.cs#L180) and LDValue reading logic similar to https://github.com/launchdarkly/python-server-sdk-ai/blob/main/ldai/client.py#L134

@louis-launchdarkly louis-launchdarkly requested a review from a team as a code owner May 8, 2025 22:15
Base automatically changed from lc/SDK-1192/setup-new-project to lc/SDK-1192/AI-config-feature-branch May 8, 2025 22:16
@louis-launchdarkly
Copy link
Author

I just realized I also need to copy the .github file from another project in this mono-repo to have the test run in CI. I am running the test locally via ./gradlew build right now.

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.

1 participant