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

feat: added meta field to ClientFeatures #44

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

chriswk
Copy link
Member

@chriswk chriswk commented Dec 20, 2024

Seems like we're adding this as a possible field to the ClientFeatures object in JS/Node land, so this PR adds it as an optional field for our representation of it as well.

@chriswk chriswk self-assigned this Dec 20, 2024
Copy link

@kwasniew kwasniew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we gonna add a test that will verify that the meta is there? BTW Node SDK ignores this for now.

@chriswk
Copy link
Member Author

chriswk commented Dec 20, 2024

So, added, tests to verify that we handle both cases (existing tests handled case where no meta exists, new tests verify that we both serialize with meta if we have a meta and that we can parse clientfeatures that have the field.

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

Successfully merging this pull request may close these issues.

4 participants