Skip to content

Add target meta ability#13

Merged
aedart merged 59 commits into
clean-slatefrom
add-target-meta-ability
May 17, 2026
Merged

Add target meta ability#13
aedart merged 59 commits into
clean-slatefrom
add-target-meta-ability

Conversation

@aedart
Copy link
Copy Markdown
Owner

@aedart aedart commented May 17, 2026

PR adds the ability to retrieve metadata using a class member reference. This does also work on static members, provided that they are not overridden. When a static member is overridden, then a new @inheritMeta() decorator can be used to register an internal owner / member address, which then enables developers to obtain metadata using member reference.

See tests for additional information.

aedart and others added 30 commits May 11, 2026 13:21
Also renamed concrete class to "Address" because IDE / eslint has issues resolving the type when implementing an aliased interface.
There was no reason for using that util, in this case.
This should use slightly less memory, then before.
This should avoid unnecessary memory allocation for member address, if one was previously already created.
@aedart aedart self-assigned this May 17, 2026
@aedart aedart added the enhancement New feature or request label May 17, 2026
@aedart aedart merged commit 676e712 into clean-slate May 17, 2026
1 check passed
@aedart aedart deleted the add-target-meta-ability branch May 17, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant