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

State becomes uneditable through Admin API when set to ⁠undefined in TypeScript SDK #2738

Open
nikrooz opened this issue Feb 14, 2025 · 0 comments
Assignees

Comments

@nikrooz
Copy link
Contributor

nikrooz commented Feb 14, 2025

I encountered an issue where setting a state to ⁠undefined (via TS SDK) causes the state to become uneditable through the Admin API.

await ctx.set("undefined", undefined);

The SDK does not raise any errors or warnings when setting the state to ⁠undefined, but this leads to unexpected behaviour where the state cannot be modified via the Admin API anymore.

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

No branches or pull requests

2 participants