Skip to content

Scan package interfaces for restapi service_for#9

Merged
MrTango merged 1 commit into
mainfrom
feature/restapi-service-for-interfaces
May 27, 2026
Merged

Scan package interfaces for restapi service_for#9
MrTango merged 1 commit into
mainfrom
feature/restapi-service-for-interfaces

Conversation

@MrTango
Copy link
Copy Markdown
Contributor

@MrTango MrTango commented May 27, 2026

Summary

  • service_for choices now include the package's own content type interfaces (scanned via shared.utils.content_types_scanner) alongside the default Plone interfaces.
  • Adds an <enter manually> option resolving to a custom dotted name through a computed service_for_resolved.

Test plan

  • tests/test_restapi_service.py::...test_service_for_own_content_type_interface
  • tests/test_restapi_service.py::...test_service_for_manual_entry

service_for choices now include the package's own content type interfaces
plus an "<enter manually>" option that resolves to a custom dotted name.
@MrTango MrTango merged commit 94c19ca into main May 27, 2026
5 checks passed
@MrTango MrTango deleted the feature/restapi-service-for-interfaces branch May 27, 2026 14:10
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