-
Notifications
You must be signed in to change notification settings - Fork 77
Description
Reddit does not handle settings with the same name, regardless of the scope. This leads to your application being permanently broken.
You can achieve this by creating a devvit.json with these settings:
"settings": {
"subreddit": {
"test": {
"type": "string"
}
},
},In the UI for any subreddit, enter a value for that setting and save.
Then, amend your devit.json to this:
"settings": {
"subreddit": {
"test": {
"type": "string"
}
},
"global": {
"test": {
"type": "string"
}
}
},Start your application and you'll receive duplicate setting field errors which you cannot resolve. Subreddit settings will no longer load and you can no longer access devvit settings list or devvit settings set. You cannot amend your devvit.json's setting's names to something else and try to deploy a new version.
Your app is permanently broken.
I'd appreciate if a lurking administrator can resolve my settings for u/sky-elder, as it's not fixable by me! Also #239...