Centeva / TypeScripter

A tool to generate Typescript classes from c# models.
MIT License
4 stars 5 forks source link

API calls called 'delete' will break the state view in Augury #9

Open Devcon4 opened 7 years ago

Devcon4 commented 7 years ago

If your component injects the generated DataService the State tab in Augury will stop working. The reason is because in the DataService we will sometimes have an api call named 'delete' which is a reserved word in js. Renaming 'delete' call to something else (i.e. 'deleteModel') will fix this problem and the state will show properly in Augury.