Reading List

Swift Proposal: Custom Reflection Metadata from Michael Tsai RSS feed.

Swift Proposal: Custom Reflection Metadata

SE-0385 (discussion): In Swift, declarations are annotated with attributes to opt into both built-in language features (e.g. @available) and library functionality (e.g. @RegexComponentBuilder). This proposal introduces the ability to attach library-defined reflection metadata to declarations using custom attributes, which can then be queried by the library to opt client code into library functionality.[…]Registering code to […]