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
Moreover, we would like to get a compilation error if we try to access a non-existing field:
col[User]("user").getChildSafe("surname") // should not compile
Dynamic invocations should be allowed too:
col[User]("user").child.name[String]:DoricColumn[String]
col[User]("user").child.age[Int]:DoricColumn[Int]
col[User]("user").child.surname[String] // should raise a non-existent column error at runtime
The text was updated successfully, but these errors were encountered:
Besides the problems of IDEs with whitebox macros, the current proposal in that branch uses the applyDynamic method, which is ugly. More work is needed to use the selectDynamic one.
We can't create column expressions that access fields of product type columns. For instance, given the following product type:
we would like to access fields of users as follows:
Moreover, we would like to get a compilation error if we try to access a non-existing field:
Dynamic invocations should be allowed too:
The text was updated successfully, but these errors were encountered: