Fix filter predicates for `Not`
Surfaced by the issue:
[rad issue show 46fc1376e12a964b5435e6594efb1cbc1731d56d](https://explorer.radicle.gr/nodes/seed.radicle.gr/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/issues/46fc1376e12a964b5435e6594efb1cbc1731d56d)
When attempting to deserialize the Not variant an error would occur:
deserializing nested enum in EventFilter::Not from YAML is not supported yet
This limitation can be fixed by doing the following to the Not variant:
Not(#[serde(with = "serde_yml::with::singleton_map")] Box<Self>)
I believe this allows serd_yml to perform some indirection to allow for the
nested enum.
Surfaced by the issue:
[rad issue show 46fc1376e12a964b5435e6594efb1cbc1731d56d](https://explorer.radicle.gr/nodes/seed.radicle.gr/rad:zwTxygwuz5LDGBq255RA2CbNGrz8/issues/46fc1376e12a964b5435e6594efb1cbc1731d56d)
When attempting to deserialize the Not variant an error would occur:
deserializing nested enum in EventFilter::Not from YAML is not supported yet
This limitation can be fixed by doing the following to the Not variant:
Not(#[serde(with = "serde_yml::with::singleton_map")] Box<Self>)
I believe this allows serd_yml to perform some indirection to allow for the
nested enum.
rebase on main
Not takes list of operands