rojo-rbx / rbx-dom

Roblox DOM and (de)serialization implementation in Rust
MIT License
113 stars 46 forks source link

Add fallback default for SecurityCapabilities #371

Closed kennethloeffler closed 11 months ago

kennethloeffler commented 11 months ago

In #361, we forgot to add the fallback default for SecurityCapabilities. This means when some instances are missing Instance.Capabilities (these are instances that were saved before SecurityCapabilities existed), and other instances do have this property, the binary serializer errors out. This PR adds the fallback default so this doesn't happen.