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

add global name #1524

Closed
wants to merge 5 commits into from
Closed

add global name #1524

wants to merge 5 commits into from

Conversation

qiujiayu
Copy link
Member

Issues resolved

Fix #1379

@membphis
Copy link
Member

In Apache APISIX, how about allowing users to customize global variables to solve such problems?

global_name = xxxx

then we can reference it in the plugin, that is an example:

{
    ....
    "name": "$$global_name"
}

@qiujiayu
Copy link
Member Author

In Apache APISIX, how about allowing users to customize global variables to solve such problems?

global_name = xxxx

then we can reference it in the plugin, that is an example:

{
    ....
    "name": "$$global_name"
}

The following configuration needs to be added for the use:

 {
     ....
     "name": "$$global_name"
 }

That will not be able to simplify the configuration.

那就达不到简化配置的效果。

@membphis
Copy link
Member

membphis commented Jun 8, 2020

I'm sorry to reply so late, I'm hesitant to add a similar function. Hope to hear more opinions from others.

@qiujiayu
Copy link
Member Author

I'm sorry to reply so late, I'm hesitant to add a similar function. Hope to hear more opinions from others.

@lilien1010 @juzhiyuan @wu-sheng @moonming

What do you think about this?

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

Successfully merging this pull request may close these issues.

feature: add global name
3 participants