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
That match is definitely fragile, but that's because we only support a few forms of types. However, ignoring unsupported types instead of failing sounds slightly risky: we will get arguably invalid models (albeit with a warning).
What's the scenario in which the current behaviour is problematic?
I suppose one problem is that, currently, I think we are converting types via tpeToIntermediatebefore we discard unused models via stripUnusedModels. So we might fail because of an unsupported type even though it wouldn't appear in the final model anyway. If that's the case, we could try to invert these two steps.
retro/metarpheus/core/src/main/scala/io.buildo.metarpheus/core/extractors/package.scala
Line 42 in c9d36dd
The referenced match is not exhaustive. I'm sure it breaks up on
Type.Repeated
(MyType*
), but it looks pretty fragile.The text was updated successfully, but these errors were encountered: