Skip to content

Fix copy constructor for arrays and objects - #1736

Merged
Maggie Kimani (MaggieKimani1) merged 1 commit into
microsoft:vnextfrom
martincostello:fix-example-clone
Jul 22, 2024
Merged

Maggie Kimani (MaggieKimani1) merged 1 commit into
microsoft:vnextfrom
martincostello:fix-example-clone

Conversation

@martincostello

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Thank you for the contribution!

@MaggieKimani1
Maggie Kimani (MaggieKimani1) merged commit 0646b23 into microsoft:vnext Jul 22, 2024
@martincostello
Martin Costello (martincostello) deleted the fix-example-clone branch July 22, 2024 10:05
@martincostello

Copy link
Copy Markdown
Contributor Author

Maggie Kimani (@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
Copy Markdown
Contributor

Hey Martin Costello (@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