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

Java: ChatMessageContent should provide setters for all properties #6208

Open
matthewbolanos opened this issue May 13, 2024 · 0 comments
Open
Labels
java Issue or PR regarding Java code

Comments

@matthewbolanos
Copy link
Member

For scenarios like integrating with MongoDB, you need to be able to have zero-parameter constructors with setters on all of the properties. Because there are not setters for authorRole, contents, or encoding, ChatMessageContent cannot be deserialized from MongoDB.

@markwallace-microsoft markwallace-microsoft added java Issue or PR regarding Java code triage labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Issue or PR regarding Java code
Projects
None yet
Development

No branches or pull requests

2 participants