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

[FEATURE] Nullable event attributes #1142

Open
sandeep-ps opened this issue May 19, 2023 · 0 comments
Open

[FEATURE] Nullable event attributes #1142

sandeep-ps opened this issue May 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sandeep-ps
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently, according to the API spec, Event attributes are not nullable. That means an empty string must be added to Event attributes, which creates additional overhead when writing code.

Describe the solution you'd like
If event attributes can be marked nullable in the Events API specification, clients can send event JSON objects with null values for optional fields.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
In the source code, optional attributes should be checked for null values if they are not being done currently.

@sandeep-ps sandeep-ps added the enhancement New feature or request label May 19, 2023
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
None yet
Development

No branches or pull requests

1 participant