You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] extra_derives doesn't apply to periphery structs #1009
When generating SC rust binding with sol! macro and adding extra_derives, those derives apply only to the SC instance Rust struct, and currently there is no direct way to do the same for periphery structs such as SC events and the enum that contains all of them, which gets generated altogether with the SC instance.
Acceptance criteria
extra_derives applies to all the generated SC instance-related structs, such as events, an enum of events, etc.
Activity
mattsse commentedon Sep 16, 2025
@squadgazzz ah I think this was actually just added recently
#1003
can trigger a new patch, maybe we want more impls?
feel free to send a pr
squadgazzz commentedon Sep 17, 2025
@mattsse thanks, but the mentioned PR only adds Clone, right?
Ok, I'll try to open a PR asap.