We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given
dc: DoricColumn[Person]
We would like to access fields of struct columns with the dynamic interface as follows:
dc.name: DoricColumn[String]
so that doric infers the type of the field.
(`dc.name[String]: DoricColumn[String] should work too).
Currently, the dynamic interface allows us to access fields of structs as follows:
dc.child.name[String]
i.e. using a reserved keyword child before actually accessing the field.
child
The text was updated successfully, but these errors were encountered:
We need macros for that. A discussion of this issue can be found at #213. Preliminary work can be found at this branch:
https://github.com/jserranohidalgo/doric/tree/jm/struct-macros
The problem of this branch is that applyDynamic is used, rather than selectDynamic.
applyDynamic
selectDynamic
Sorry, something went wrong.
No branches or pull requests
Feature suggestion
Given
dc: DoricColumn[Person]
We would like to access fields of struct columns with the dynamic interface as follows:
dc.name: DoricColumn[String]
so that doric infers the type of the field.
(`dc.name[String]: DoricColumn[String] should work too).
Current behaviour
Currently, the dynamic interface allows us to access fields of structs as follows:
dc.child.name[String]
i.e. using a reserved keyword
child
before actually accessing the field.The text was updated successfully, but these errors were encountered: