Skip to content

feat: add ObjectServiceMapperAdapter - #1334

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

feat: add ObjectServiceMapperAdapter#1334
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

  • Adds ObjectServiceMapperAdapter — a mapper-like adapter over ObjectService
  • Allows external apps (e.g. OpenConnector) to interact with OpenRegister objects through a familiar mapper contract without depending on ObjectService internals
  • Register and schema context are injected once at construction time

Motivation

OpenConnector needs a way to call into OpenRegister using a mapper-like API. This adapter lives in OpenRegister so any external app can use it — not just OpenConnector.

Changes

  • Added: lib/Service/ObjectServiceMapperAdapter.php
    • Methods: find, findByUuid, findAll, createFromArray, updateFromArray, update, delete, getSchema, getRegister, getValidateHandler

Related

Coordinated with openconnector#722 which updates the type hint references in EndpointService.

Test plan

  • Verify ObjectServiceMapperAdapter can be instantiated via DI with register/schema context
  • Confirm OpenConnector EndpointService resolves the adapter correctly after both PRs are merged

🤖 Generated with Claude Code

Exposes a mapper-like API over ObjectService so external apps (e.g.
OpenConnector) can interact with OpenRegister objects through a familiar
contract without depending on ObjectService internals. Register and
schema context are injected once at construction time.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bbrands02
bbrands02 force-pushed the refactor/object-service-mapper-adapter branch from 7630c06 to 1a74c78 Compare April 23, 2026 12:02
@bbrands02 bbrands02 changed the title refactor: rename OpenConnectorObjectMapperAdapter to ObjectServiceMapperAdapter feat: add ObjectServiceMapperAdapter Apr 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ d94ddcd

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 147/147
npm ✅ 599/599
PHPUnit
Newman
Playwright

Quality workflow — 2026-04-23 12:03 UTC

Download the full PDF report from the workflow artifacts.

@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
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ ce372d0

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 147/147
npm ✅ 599/599
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-04-23 12:05 UTC

Download the full PDF report from the workflow artifacts.

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