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
making all the columns of all constructors nullable
This representation can lead to inefficient queries. At CircuitHub, we have sometimes chosen to represent ADT shaped things not as an ADT to avoid these issues.
We generate rather complex SQL to construct and deconstruct the ADTs.
Yet, in many cases we can deduce which case we are in purely from whether certain fields are NULL, and we do not need a tag at all.
We should investigate whether we can implement a tagless version of the ADT, which generates simpler SQL.
Activity