mirror of
https://github.com/agent-substrate/substrate.git
synced 2026-11-10 10:13:50 +08:00
Instead of requiring custom code for each field, let the callers (i.e RPC handlers) declare which fields are mutable and implement a generic `Apply` function that copies fields over, using proto reflection.