Skip to content

Context properties should accept arbitrary data #515

@gastonfournier

Description

@gastonfournier

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    For later

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions