Skip to content

Conversation

@apascal07
Copy link
Collaborator

@apascal07 apascal07 commented Aug 29, 2025

Common interfaces like Action, Plugin, DynamicPlugin are now in a api package that is used by core, ai, and registry so that the registry remains an internal implementation detail but can have strongly typed registration functions, primitives have a Register(api.Registry) function in their individual interfaces so they can be easily registered after creating, and the interface is public is that custom primitive implementations can be mocked out by third parties.

Checklist (if applicable):

@github-actions github-actions bot added the go label Aug 29, 2025
@apascal07 apascal07 requested a review from pavelgj August 29, 2025 16:46
@apascal07 apascal07 marked this pull request as ready for review August 29, 2025 16:47
@apascal07 apascal07 merged commit 2b9e243 into main Sep 2, 2025
6 checks passed
@apascal07 apascal07 deleted the ap/go-typed-api branch September 2, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants