AppConfiguration icon indicating copy to clipboard operation
AppConfiguration copied to clipboard

support for exporting and importing a ts configuration file

Open Bhanu88 opened this issue 6 years ago • 3 comments

support for exporting and importing a ts(type script) configuration file

Bhanu88 avatar Dec 09 '19 03:12 Bhanu88

@Bhanu88, the ts config file is also in JSON format. Just to help my understanding, other than https://github.com/Azure/AppConfiguration/issues/215, is there anything else do you mean by support ts config file?

zhenlan avatar Dec 10 '19 02:12 zhenlan

@zhenlan ts file in our case look something like this and when we validate it against a json validator it gives error.

as per me ts files are complied at run time and converted in js files but i dont thing it is same as JSON file

export const environment = {
	production: false,
	hmr: false,
	officeWrapperUrl: "https://api-dev.xyz.com/",
		Scopes: [
		"api://MCApp/MC.Read"
	]


};

Bhanu88 avatar Dec 10 '19 06:12 Bhanu88

@Bhanu88 thanks for sharing the details.

zhenlan avatar Dec 13 '19 04:12 zhenlan

Closing this issue due to inactivity and lack of well defined ts file to spec off of.

jimmyca15 avatar Jul 31 '23 23:07 jimmyca15