We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68e60dc commit 99bdfe5Copy full SHA for 99bdfe5
app-config-config/src/index.ts
@@ -82,7 +82,18 @@ export async function loadUnvalidatedConfig({
82
83
verifyParsedValue(parsed);
84
85
- return { parsed, fullConfig: parsed.toJSON() };
+ return {
86
+ parsed,
87
+ fullConfig: parsed.toJSON(),
88
+ // NOTE: not checking meta values here
89
+ environment: currentEnvironment(
90
+ asEnvOptions(
91
+ environmentOverride,
92
+ environmentAliasesArg ?? defaultAliases,
93
+ environmentSourceNamesArg,
94
+ ),
95
96
+ };
97
} catch (error) {
98
// having no APP_CONFIG environment variable is normal, and should fall through to reading files
99
if (!NotFoundError.isNotFoundError(error)) throw error;
0 commit comments