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
{{ message }}
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.
@alshakero I am not sure if it is possible to implement it in Starcounter DevTools, but perhaps this can be done in JSONPatcherProxy?
In case JS tries to read an undefined property from the data model, check if it is one of the common typos and print an error like:
The script tried to read the property Name from the data model , but it is undefined. Did you mean: Name$? If you want to use variables outside of the data model, please follow the Palindrom instructions on ignoring the local data changes: https://palindrom.github.io/docs/03-_Filtering%20Patches/
I think if we cannot implement/monkeypatch it in DevTools we shouldn't do that, as it affects runtime performance and a clerk at the POS at the ship does not care about console errors, just want this app to run as fast as possible.
As an enhancement of #11, it should be possible to suggest fixes for common typos in cased of missed TemplateBinding.
Typical typos:
name
->Name
Nmae
->Name
Name
->Name$
This is point 6 and 9 from https://github.com/Starcounter/Starcounter/issues/2468
The text was updated successfully, but these errors were encountered: