Skip to content

Data Provider Exception vs Restricted interface #1197

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

Merged
merged 2 commits into from
Jan 20, 2021

Conversation

Caligone
Copy link
Contributor

The usage of ApiPlatform\Core\Exception\ResourceClassNotSupportedException
along the implementation of the ApiPlatform\Core\DataProvider\RestrictedDataProviderInterface in the Data Provider seems redundant.

Conflict between ApiPlatform\Core\Exception\ResourceClassNotSupportedException and ApiPlatform\Core\DataProvider\RestrictedDataProviderInterface usages
@dunglas dunglas merged commit e3dae2b into api-platform:2.5 Jan 20, 2021
@dunglas
Copy link
Member

dunglas commented Jan 20, 2021

Thanks @Caligone!

dunglas added a commit that referenced this pull request Jan 20, 2021
* 2.5: (48 commits)
  show XML syntax for @ApiProperty(identifier=true) (#1250)
  Document how to run api-platform/docker-compose-prod locally (#1014)
  Wrong ContextAwareDataPersisterInterface use (#1177)
  Update Swagger documentation to use V3 (#1188)
  Data Provider Exception vs Restricted interface (#1197)
  Upgrade Xdebug to 3.0.2 (#1178)
  Update elasticsearch.md (#1203)
  update nuxtjs.md, add missing dependencies and instructions (#1208)
  Update operations.md (#1210)
  Update operations.md (#1214)
  Update operations.md (#1215)
  Update data-persisters.md (#1217)
  fixed typo in localhost url for next generator (#1246)
  Update testing JWT Authentication with ApiTestCase (#1242)
  Testing the API - update command to run tests (#1243)
  Fix MERCURE_JWT_TOKEN variable name
  Update security.md
  Revert "fix: allow accessing the JSON-LD context with JWT (#1225)"
  Decorate a Serializer when JSON data is provided
  docs: use function for getting headers (#1228)
  ...
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