#1395 breaks custom config
See original GitHub issueSummary
#1395 launched a fix that instance config may override global config, but it ignore custom configs. So it will break something we’d like to attach into the config and access in interceptor (e.g. CookieJar).
For example (https://codepen.io/anon/pen/gjZRdR?editors=1111):
const inst = axios.create();
inst.interceptors.request.use(config => {
console.log('should be "test", actual', config.testAttr);
})
inst.get('/', {
testAttr: 'test',
});
Context
- axios version: v0.19.0-beta.1
- Environment: node & chrome
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:12 (3 by maintainers)
Top Results From Across the Web
SessionStateModule.cs
Custom : _store = InitCustomStore(config); break; default: break; } // We depend on SessionIDManager to manage session id _idManager ...
Read more >Source Code for Module ganeti.config
20 21 22 """Configuration management for Ganeti 23 24 This module provides ... None and new_resource not in all_elems: 119 break 120 else:...
Read more >Config xref - Eclipse archive
76 */ 77 public class Config { 78 private static final String[] ... 176 } 177 r.append(' '); 178 break; 179 180 default:...
Read more >Backup Config Module - Beta - Final stage - Development ...
when all things breaks loose, everybody tries to do all the things at once ... Contribute to nethserver-backup-config development by creating an account...
Read more >ASP.NET custom configuration section declaration breaks IIS ...
config file so that .NET can parse my custom config XML this seems to break IIS Manager's Configuration Editor. I've re-jigged the question...
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
I am looking forward to this feature😀
@zcei Great point. Can we just make
config.userData: any
to store user data. But since it’s a regression, we still need to fix it or put it into breaking changes since it will break some old codes.