Skip to content

Handle case where a model is both a list and IPersistable #49824

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

Merged
merged 2 commits into from
May 6, 2025

Conversation

m-nash
Copy link
Member

@m-nash m-nash commented May 5, 2025

Contributes to #48292.

Azure.AI.OpenAI has a type that is both a list due to its inheritance but also implements IJsonModel directly. In these cases IPersistable should win and that should be the type builder pattern we implement.

@m-nash m-nash requested a review from a team as a code owner May 5, 2025 20:00
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@m-nash m-nash merged commit 32a0c69 into main May 6, 2025
37 checks passed
@m-nash m-nash deleted the mrwListPersistableCombo branch May 6, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants