Skip to content

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