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
Write better example to illustrate good project structure.
user.scala - for each data type
case class User () {} object User { def fetchFromSource: ZDS_R[Source, User] = ??? }
and transformations:
object Transformations { def transform(input: Dataset[A]): ZDS[B] = ??? }
and sources:
trait Sources { def getUser } object Sources { object Live extends Sources { def getUser = User.fetchFromSources } }
in Application:
trait Application { def getSources: Sources }
in main.scala:
object Main extends Application { override final lazy val getSources = Source.Live }
in tests:
object TestApp extends Application { override final lazy val getSources = FakeDataSources }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Write better example to illustrate good project structure.
user.scala - for each data type
and transformations:
and sources:
in Application:
in main.scala:
in tests:
The text was updated successfully, but these errors were encountered: