Skip to content

feat: use ObjectServiceMapperAdapter from OpenRegister - #722

Closed
bbrands02 wants to merge 1 commit into
developmentfrom
refactor/object-service-mapper-adapter
Closed

feat: use ObjectServiceMapperAdapter from OpenRegister#722
bbrands02 wants to merge 1 commit into
developmentfrom
refactor/object-service-mapper-adapter

Conversation

@bbrands02

@bbrands02 bbrands02 commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Updates EndpointService to reference ObjectServiceMapperAdapter from OpenRegister
  • Removes the app-specific type hint that tied the contract to OpenConnector internals
  • No logic changes — follow-up to the new adapter being added in OpenRegister

Changes

  • lib/Service/EndpointService.php: Updated union type hints on 4 method signatures to use \OCA\OpenRegister\Service\ObjectServiceMapperAdapter

Related

Depends on openregister#1334 which adds the ObjectServiceMapperAdapter class.

Test plan

  • Verify EndpointService resolves ObjectServiceMapperAdapter correctly after the OpenRegister PR is merged
  • Run existing endpoint tests to confirm no regressions

🤖 Generated with Claude Code

OpenRegister renamed OpenConnectorObjectMapperAdapter to ObjectServiceMapperAdapter
to reflect that the adapter is not OpenConnector-specific and can be used by
any external app. Updated the four type hint references in EndpointService accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bbrands02 bbrands02 changed the title refactor: update type hints to use renamed ObjectServiceMapperAdapter feat: use ObjectServiceMapperAdapter from OpenRegister Apr 23, 2026
@bbrands02

Copy link
Copy Markdown
Contributor Author

Superseded by new PR from feat/object-service-mapper-adapter branch.

@bbrands02 bbrands02 closed this Apr 23, 2026
@bbrands02
bbrands02 deleted the refactor/object-service-mapper-adapter branch April 23, 2026 12:05
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.

1 participant