CCF icon indicating copy to clipboard operation
CCF copied to clipboard

Simplify Handlers by separating registries

Open sidmore opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe. while refactoring TPAL because of single registry all handlers are of the type DynamicJSEndpoint and registered there. Not all handlers in TPAL are of the type DynamicJS in an application.

Describe the solution you'd like CCF should allow to define handlers to be either of type UserEndptRegistry, DynamicJSEndptRegistry, or of the type UserEndpt, DynamicJsEndpt and register it in the OneRegistry or the other option is to expose some routing mechanism in Userspace that app developers could leverage to route specific endpoints to the specific endpt registry.

This design will allow scoping handlers down to the only necessary actions they can do defined by the endpt type.

Describe alternatives you've considered At this stage their is no other option because CCF does not allow registering multiple registries.

Additional context Add any other context about the feature request here.

sidmore avatar Dec 09 '24 16:12 sidmore