Skip to content
New issue

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

[Multi-Modules] any sample for multi module project ? #5227

Closed
Abd-Elrahman-Essam opened this issue Sep 9, 2023 · 5 comments
Closed

[Multi-Modules] any sample for multi module project ? #5227

Abd-Elrahman-Essam opened this issue Sep 9, 2023 · 5 comments
Labels
📚 Documentation ⌛ Waiting for info More information is required

Comments

@Abd-Elrahman-Essam
Copy link

No description provided.

@martinbonnin
Copy link
Contributor

Good point. There's nothing like this but that would be quite useful indeed 👍 .

The closest you can find at the moment is integration tests, there are 3 multi-module projects there:

@StylianosGakis
Copy link
Contributor

https://github.com/HedvigInsurance/android is multi-module and uses apollo-kotlin too, not sure if this is what you are looking for exactly though.
All except for 1 of the modules just depend on apollo-giraffe-public or apollo-octopus-public to get access to the centralized GQL files for the two services that the app interacts with.

However for giraffe, we do have this https://github.com/HedvigInsurance/android/blob/192b493ba7cb6d21ec3615a183902b315eb58332/app/apollo/apollo-giraffe-public/build.gradle.kts#L35 enabled, and then we do have 1 module where we've tried to have its own queries/mutations, which is this module https://github.com/HedvigInsurance/android/blob/ae866a8fbe5eb3d33499870f2eaa02d49192e257/app/member-reminders/member-reminders-public/build.gradle.kts#L48-L49.

This may be what you are looking for, so feel free to check it out 😊

@martinbonnin martinbonnin changed the title [Multi-Modules] any sample for multi module project ? [Multi-Modules] any sample for multi module project ? Sep 13, 2024
@martinbonnin martinbonnin changed the title [Multi-Modules] any sample for multi module project ? [Multi-Modules] any sample for multi module project ? Sep 13, 2024
@martinbonnin
Copy link
Contributor

Hi all 👋 We started a collection of samples here. Right now it contains a single sample about multi-modules/multi-services setup. Hope it's helpful here, feedbacks welcome.

@BoD BoD added the ⌛ Waiting for info More information is required label Sep 23, 2024
@martinbonnin
Copy link
Contributor

Closing for now, let us know if you need more details.

Copy link
Contributor

github-actions bot commented Nov 8, 2024

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Kotlin usage and allow us to serve you better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 Documentation ⌛ Waiting for info More information is required
Projects
None yet
Development

No branches or pull requests

4 participants