Auto-generate identifiers for record_use
#56043
Labels
area-meta
Cross-cutting, high-level issues (for tracking many other implementation issues, ...).
record_use
#56043
With the upcoming
record_use
feature, users can record usage of certain Dart objects by placing@RecordUse
annotations on the objects. To retrieve the recordings, they need to provide the identifier of the object, a 3-tuple of URI, parent class, and name. This is a source of errors, as typos can be made, and the identifiers have to be updated whenever the annotations are placed elsewhere.To alleviate this, we could auto-generate the IDs, for example using macros. Example:
cc @dcharkes @mkustermann @jakemac53
The text was updated successfully, but these errors were encountered: