Git Product home page Git Product logo

Comments (3)

Jaime97 avatar Jaime97 commented on May 27, 2024

Hello again,

Could you please help me with this? I am stuck in this development and I don't know how to proceed.

Thanks again.

from moko-template.

Tetraquark avatar Tetraquark commented on May 27, 2024

@Jaime97 Hey!

The domain and the feature modules can communicate with each other in the mpp-library module which all other modules are connected to. So, you need to declare some use-case interface in the feature module and implement it somewhere in the mpp-library.

Here is the example: we have some interface in the feature: https://github.com/icerockdev/moko-template/blob/master/mpp-library/feature/config/src/commonMain/kotlin/org/example/library/feature/config/model/ConfigStore.kt which are injected to the feature factory constructor https://github.com/icerockdev/moko-template/blob/master/mpp-library/feature/config/src/commonMain/kotlin/org/example/library/feature/config/di/ConfigFactory.kt#L12.
And the interface is implemented in mpp-library using domain module objects: https://github.com/icerockdev/moko-template/blob/master/mpp-library/src/commonMain/kotlin/org/example/library/SharedFactory.kt#L55.

from moko-template.

Jaime97 avatar Jaime97 commented on May 27, 2024

@Tetraquark Hello!

A pretty good example, I've understood it perfectly now and I've been able to implement it.

Thanks!

from moko-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.