You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previous versions of dams, had indexAlias in their constructor,
this.writeIndexAlias='foo'
This messes up code, and shouldn't be allowed. Specifically, the cupdate function eg. uses this.writeIndexAlias while the setAlias function fixes up names that that don't match.
Easiest fix is to disallow renaming? This is one potential fix in FinEsDataModel
Object.defineProperty(this,"readIndexAlias",{value: modelName+'-read',writable: false,// This makes the property read-onlyenumerable: true,configurable: false// This prevents reconfiguration of the property});Object.defineProperty(this,"writeIndexAlias",{value: modelName+'-write',writable: false,// This makes the property read-onlyenumerable: true,configurable: false// This prevents reconfiguration of the property});
The text was updated successfully, but these errors were encountered:
Previous versions of dams, had indexAlias in their constructor,
This messes up code, and shouldn't be allowed. Specifically, the cupdate function eg. uses
this.writeIndexAlias
while thesetAlias
function fixes up names that that don't match.Easiest fix is to disallow renaming? This is one potential fix in
FinEsDataModel
The text was updated successfully, but these errors were encountered: