-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(config): cast configuration values into proper types #9829
Conversation
src/core/plugins/syntax-highlighting/wrap-components/SyntaxHighlighter.jsx
Outdated
Show resolved
Hide resolved
TODO:
|
I went through the docs and code to check for types and default values, skipping
const value = system.getConfigs().withCredentials
if(value !== undefined) {
system.fn.fetch.withCredentials = value
} and in Swagger Client: const credentials = http && http.withCredentials ? 'include' : 'same-origin'; const credentials =
this.getHttpClient().withCredentials || this.withCredentials ? 'include' : 'same-origin'; const credentials = http.withCredentials ? 'include' : 'same-origin'; But for each of them, it looks to me like if the value was |
I think I understand now - the docs actually just simply don't mention the default value if the default is |
We'll accept and following this further. |
We'll use naked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Nicely done!
Refs #9808
Supersedes #9722