You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it has isAsync flag which resolves a proxy after it registered in the registry
both operations are not needed.
the configuration is almost the same so it does not save code.
async router solves the problem of requesting a service before it is available in the registry in a better way.
API
Design proposition
A clear and concise description of the design proposition.
Changes existing API
Removes existing API
Pull Request
[Link]
Old API
Code snippet
/** * @interface Microservice * Provides the functionality of a microservice container */exportinterfaceMicroservice{/** * @method destroy * The method is used to delete a microservice and close all the subscriptions related with it */destroy: ()=>Promise<any>;/** * @method createProxies * Create a map of proxies or Promises to proxy. (deepened on configuration) */createProxies: CreateProxies;/** * @method createProxy * Creates a proxy to a method and provides extra logic when is invoked */createProxy: CreateProxy;/** * @method createServiceCall * Exposes serviceCall to a user (not via Proxy) */createServiceCall: CreateServiceCall;}
New API
Code snippet
/** * @interface Microservice * Provides the functionality of a microservice container */exportinterfaceMicroservice{/** * @method destroy * The method is used to delete a microservice and close all the subscriptions related with it */destroy: ()=>Promise<any>;/** * @method createProxy * Creates a proxy to a method and provides extra logic when is invoked */createProxy: CreateProxy;/** * @method createServiceCall * Exposes serviceCall to a user (not via Proxy) */createServiceCall: CreateServiceCall;}
Behavior
Consideration
remove/modify tests that use createProxies
remove createProxies from documentation
Ready for implementation
API has been approved
Discussed with Technical lead
Definition of Done
Developer review
QA review
Documentation
The text was updated successfully, but these errors were encountered:
General description
remove createProxies from the API
createProxies has 2 benefits.
both operations are not needed.
API
Design proposition
A clear and concise description of the design proposition.
Changes existing API
Removes existing API
Pull Request
[Link]
Old API
Code snippet
New API
Code snippet
Behavior
Consideration
Ready for implementation
API has been approved
Discussed with Technical lead
Definition of Done
Developer review
QA review
Documentation
The text was updated successfully, but these errors were encountered: