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

Fix copy constructor for arrays and objects #1736

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

martincostello
Copy link
Contributor

  • Fix OpenApiArray and OpenApiObject not copying their items when they are copied to a new instance.
  • Add tests for all built-in IOpenApiAny types with schema examples.

Found as part of dotnet/aspnetcore#56318 (comment).

- Fix `OpenApiArray` and `OpenApiObject` not copying their items when they are copied to a new instance.
- Add tests for all built-in `IOpenApiAny` types with schema examples.
@MaggieKimani1
Copy link
Contributor

Thank you for the contribution!

@MaggieKimani1 MaggieKimani1 merged commit 0646b23 into microsoft:vnext Jul 22, 2024
6 checks passed
@martincostello martincostello deleted the fix-example-clone branch July 22, 2024 10:05
@martincostello
Copy link
Contributor Author

@MaggieKimani1 Do you know when the next stable release to NuGet.org will be? I'd like to start using the changes from this PR as well as #1717. If it isn't going to be soon, is there a pre-release feed someone I could use instead?

@MaggieKimani1
Copy link
Contributor

Hey @martincostello
v1.6.16 is already available on NuGet with the above fixes. 🙂

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.

2 participants