eonx-com / easy-monorepo

The packages to step the f*k up in your projects
MIT License
64 stars 14 forks source link

[EasyApiPlatform] Fix serializer context builder interface usage #1564

Closed alexandrtspl closed 1 month ago

alexandrtspl commented 1 month ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes

Fix lint:container error:

  Invalid alias definition: alias "ApiPlatform\Serializer\SerializerContextBu  
  ilderInterface" is referencing class "EonX\EasyApiPlatform\Common\Serialize  
  rContextBuilder\SerializerContextBuilder" but this class does not implement  
   "ApiPlatform\Serializer\SerializerContextBuilderInterface". Because this a  
  lias is an interface, "EonX\EasyApiPlatform\Common\SerializerContextBuilder  
  \SerializerContextBuilder" must implement "ApiPlatform\Serializer\Serialize  
  rContextBuilderInterface".   

https://github.com/api-platform/core/issues/6411 https://github.com/api-platform/core/pull/6412/files

eonx-space-to-github-reviews[bot] commented 1 month ago

Code Review in Space: https://eonx.jetbrains.space/p/support/reviews/614/timeline