Is it possible to substitue flash Datamodule for lightning Datamodule ? #251
-
I found |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
We haven’t experimented with that yet. But any feedback is welcomed as I believe as midterm plan is to align both api for data modules. /cc @ethanwharris |
Beta Was this translation helpful? Give feedback.
-
Currently this is not possible, since the LightningModule does not have the necessary hooks (they are currently living within the flash.Task). However, the flash.Task is nothing else then a lightningmodule with some additional hooks and defaults, so I recommend to use this instead. |
Beta Was this translation helpful? Give feedback.
Currently this is not possible, since the LightningModule does not have the necessary hooks (they are currently living within the flash.Task). However, the flash.Task is nothing else then a lightningmodule with some additional hooks and defaults, so I recommend to use this instead.