Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Allow to change the context url name in frontend hooks #1664

Open
Tsimopak opened this issue Aug 27, 2024 · 0 comments
Open

Comments

@Tsimopak
Copy link

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).

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

No branches or pull requests

1 participant