update function for settings
See original GitHub issueIt is only possible to update the complete object like:
this.settings = {....}
It is not possible to update an single parameter like:
this.settings.noDataMessage = "No User found for ..."
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
update-function-configuration — AWS CLI 1.27.37 Command ...
Description¶. Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its ......
Read more >Manage additional Windows Update settings - Microsoft Learn
In this article, learn about additional settings to control the behavior of Windows Update.
Read more >azure - Updating remote Function App Application Settings in C#
I am currently writing a scheduled Function App that in part will need to update an Application Setting of a different Function App...
Read more >How to update application settings of an Azure Functions App ...
How to update application settings of Azure Functions using AzDO ... Add your desired app settings as variables. Remember the name of your ......
Read more >Unable to update the Functions Extensions Version in Azure ...
Unable to update the Functions Extensions Version in Azure Application Settings because you may not be signed into Visual Studio with the appropriate....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello,
I have the same problem again. Normal it works, but updating it into an arrow function like API call or timeout does not work:
Example:
You are right. You can only change the whole object. You can of course get around this by having a separate object for your settings which you can change and then assigning a copy of this object to this.settings. That’s at least what I do in my application.
Lets say you create a object mySettings: mySettings = {} // remember to add all the properties you need You can then do some changes to it: e.g. mySettings.data.actions.add = false; You then need to assign a copy of it to this.settings: this.settings = Object.assign({}, mySettings)