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

Context properties should accept arbitrary data #515

Open
gastonfournier opened this issue Sep 4, 2024 · 0 comments
Open

Context properties should accept arbitrary data #515

gastonfournier opened this issue Sep 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gastonfournier
Copy link
Contributor

Describe the feature request

Some SDKs may allow users to include arbitrary data inside context properties. SDKs should only accept strings but we know that's not always the case. Edge should gracefully handle this situation and don't fail, which is the current behavior.

This PR shows one simple example, where adding an integer breaks the behavior of a test: #514

Additionally to integers properties should allow complex objects

Background

No response

Solution suggestions

Just ignoring fields that don't comply with the expected schema should work. Then SDKs should be fixed to send the data properly.

In some situations, like handling integer, it might be possible to do a simple transformation to string, but most of other types will not be that trivial.

@gastonfournier gastonfournier added the enhancement New feature or request label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: For later
Development

No branches or pull requests

1 participant