Add constants #38
Labels
enhancement
New feature or request
implemented
This feature is implemented in `develop` and ready for testing
Milestone
Sometimes, it is necessary to provide various constants to the user. Right now, the only way to achieve this is to modify the data, which is rather unfortunate – it would be much better to specify the constants only once at compile time. Example usage:
It should be possible to access data fields shadowed by constants using single-quoted symbols:
In order to keep the API simple, constants will bypass a
customProp
function – if a developer wants total control over the identifiers, they shouldn't define any constants.The text was updated successfully, but these errors were encountered: