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
In my case, I think my actual context is small enough to copy, but yeah, reference counting would be the next thing I'd try in the current project I'm working on. I'm not blocked.
But generally speaking, I wondered if this would be a useful capability so as to avoid the reference counting alternative.
Suppose I have a lot of data I wish to refer to in the context, so I want to use a reference. Is it possible?
Simple example:
fails with:
Common sense suggests it should be possible, because the context shouldn't be retained after validation.
I did see the documentation states: https://docs.rs/garde/0.20.0/garde/#custom-validation
so maybe it is currently not possible? Would it be a reasonable addition?
The text was updated successfully, but these errors were encountered: