chore: warn about mis-configured resources in debug:api-resource command
I don't get it, the resource metadata factory is already calling the extractor ?
depends on which resource metadata factory is used, attribute resource metadata factory doesn't call the extractor, and will create the resource even if it's not configured ( related to the internal discussion )
We use decoration on our api_platform.metadata.resource.metadata_collection_factory service and it should definitely call https://github.com/api-platform/core/blob/main/src/Metadata/Resource/Factory/ExtractorResourceMetadataCollectionFactory.php at some point.
We use decoration on our api_platform.metadata.resource.metadata_collection_factory service and it should definitely call https://github.com/api-platform/core/blob/main/src/Metadata/Resource/Factory/ExtractorResourceMetadataCollectionFactory.php at some point.
Yes, but the attribute resource metadata collection factory result won't be empty, hence why the command doesn't fail, or emit a warning.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.