synesthesia-it / Boomerang

Swift micro-framework for MVVM (Model-View-ViewModel) native applications.
MIT License
36 stars 10 forks source link

ObjectIdentifier for keypaths in dependency container crash when compiled in release mode #40

Open stefanomondino opened 2 years ago

stefanomondino commented 2 years ago

In a specific project, a dependency container property registered via keypath and resolved with @Dependency property wrapper is crashing in release mode (fatal error in the property wrapper itself, this is by design when a dependency is not found) and working in debug mode (the dependency is found, associated to registered keypath).

This should be further investigated, to understand if this is a project bug or a Boomerang bug.

So far there's no way to easily reproduce it in boomerang and all tests are properly passing.