add location to DynamicProxy #6346
Labels
compiler
enhancement
New feature or request
suggestion
Suggest a change, open to discussion
usability
This ticket is related to improved usability
Adding a
location
property/method toDynamicProxy
would allow plugins to raise more useful error messages when a specific model instance is involved. Alternatively/additionally we could go for anidentity
method that returns more or less whatrepr
returns for the AST node, e.g.'lsm::ServiceEntityBindingV2 (instantiated at /tmp/tmppvbkd07y/main.cf:5)'
. This contains both the location and the value/type of the object.Inspired by inmanta/lsm#627
The text was updated successfully, but these errors were encountered: