zenstack
zenstack copied to clipboard
[Feature Request] Allow to change the context url name in frontend hooks
Hi,
Many people including myself use Micro services architecture, not necessary as monorepo. The frontend may need to communicate with multiple micro services.
In order to use frontend hooks i change the output of zenstack plugin and copy paste it to my frontend.
Right now, when generating frontend hooks, a context of the url need to be provided. but the name of the url parameter is fixed.
The thing, when having multiple micro services that use zenstack - each one of them need to have frontend hooks but by default it has the same url context
So my suggestion is to allow in the plugin to choose the context url name (the default may stay as it is now).