1
0
Fork 0

Add a todo for nested params objects

This commit is contained in:
Robbert van der Helm 2022-02-28 22:16:46 +01:00
parent af77d45877
commit ae212962a3

View file

@ -26,6 +26,8 @@ pub use serde_json::to_string as serialize_field;
///
/// This implementation is safe when using from the wrapper because the plugin object needs to be
/// pinned, and it can never outlive the wrapper.
//
// TODO: Add a `#[nested]` attribute for nested params objects
pub trait Params {
/// Create a mapping from unique parameter IDs to parameters. This is done for every parameter
/// field marked with `#[id = "stable_name"]`. Dereferencing the pointers stored in the values