Skip to content

Pass $options to PropertyInfoMetadataFactory#3425

Merged
teohhanhui merged 4 commits into
api-platform:2.5from
remoteclient:patch-3
Mar 5, 2020
Merged

Pass $options to PropertyInfoMetadataFactory#3425
teohhanhui merged 4 commits into
api-platform:2.5from
remoteclient:patch-3

Conversation

@remoteclient

@remoteclient remoteclient commented Mar 3, 2020

Copy link
Copy Markdown
Contributor
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tickets fixes #2868, fixes #3146, fixes #3424
License MIT
Doc PR N/A

I had an issue where nested properties / classes didn't show up on OpenApi / Swagger docs.
With this PR the issue seems to be solved as the PropertyMetadataFactory gets the options. Thanks to @teohhanhui for the help on this.

TODO:

remoteclient and others added 2 commits March 4, 2020 11:15
I had an issue where nested properties / classes didn't show up on OpenApi / Swagger docs (api-platform#2868).
With this PR the issue seems to be solved as the PropertyMetadataFactory gets the options. Thanks to @teohhanhui for the help on this.
@teohhanhui
teohhanhui changed the base branch from master to 2.5 March 4, 2020 10:48
@teohhanhui
teohhanhui requested review from antograssiot, dunglas and soyuka and removed request for dunglas March 4, 2020 15:45
@teohhanhui
teohhanhui merged commit 7e1e5ba into api-platform:2.5 Mar 5, 2020
@teohhanhui

Copy link
Copy Markdown
Contributor

Thanks @remoteclient! 🎉 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants