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
This is because the files object can contain nested objects containing string, number, boolean and object values – it's potentially recursive, and really hard to convey in Rust due to type unions not being a thing. One workaround could be a C-style union which is more like an object or named tuple with all the potential values, but implementation complexity may be a problem with that.
The text was updated successfully, but these errors were encountered:
Currently this is in place of the
files
field for the egg configuration object:Pteroxide/pteroxide-models/src/application/egg.rs
Lines 33 to 37 in 19775e9
This is because the
files
object can contain nested objects containing string, number, boolean and object values – it's potentially recursive, and really hard to convey in Rust due to type unions not being a thing. One workaround could be a C-style union which is more like an object or named tuple with all the potential values, but implementation complexity may be a problem with that.The text was updated successfully, but these errors were encountered: