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

Type-safe variant payloads #4350

Open
Tymek opened this issue Jul 27, 2023 · 1 comment
Open

Type-safe variant payloads #4350

Tymek opened this issue Jul 27, 2023 · 1 comment
Assignees
Labels
enhancement feature request A wish for Unleash to do something it doesn't already do. Maybe Later

Comments

@Tymek
Copy link
Member

Tymek commented Jul 27, 2023

Describe the feature request

I'd like Unleash to have the ability to conform the variant payload (JSON) to a schema.

Background

With new variants in strategies I'd like to have client SDKs that can be type safe.

https://unleash-community.slack.com/archives/C03GZBSJV9A/p1689704431836109

Solution suggestions

A way to get schema in a format, that can be used across multiple programming languages, to generate types. We already have experimental CLI in Next.js SDK, but it doesn't work with variants in strategies yet.

@sighphyre
Copy link
Member

@Tymek What do you want to do with this one? Currently it's clogging up our TODO backlog, can we mark this as "maybe later" so the bot doesn't close it?

@nunogois nunogois moved this from New to Todo in Issues and PRs Sep 4, 2023
@Tymek Tymek added feature request A wish for Unleash to do something it doesn't already do. Maybe Later labels Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature request A wish for Unleash to do something it doesn't already do. Maybe Later
Projects
Status: For later
Development

No branches or pull requests

2 participants