relay icon indicating copy to clipboard operation
relay copied to clipboard

Generate `Getter` trait boilerplate using existing proc macros

Open Dav1dde opened this issue 8 months ago • 0 comments

Currently the Getter trait requires a bunch of manual boilerplate, we should be able to auto generate all of it using our existing derive macros, or at least make the top level implementation of Getter much much simpler, leveraging the IntoValue/FromValue/ProcessValue macros.

For example this PR exposes fields which could have just been auto-exposed and synchronized with the derive macros: https://github.com/getsentry/relay/pull/4711

Dav1dde avatar May 09 '25 12:05 Dav1dde