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

Handle module dependencies containing additional assemblies #82

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

skorulis-ap
Copy link
Collaborator

@skorulis-ap skorulis-ap commented Aug 27, 2023

I was trying to write a handler for additional module assemblies in cash-ios and hit the issue that the codegen treats every module as needing to be imported which is not true to modules which contains multiple assemblies.

I've allowed extra assemblies to be provided in either the list of modules or as a separate parameter. With the current cash-ios setup it's more complex to separate the modules and additional assemblies so this helps with that.

This should be re evaluated after fully migrating to bazel.

@skorulis-ap skorulis-ap marked this pull request as ready for review August 27, 2023 23:57
@skorulis-ap skorulis-ap requested a review from bradfol August 27, 2023 23:57
@skorulis-ap skorulis-ap force-pushed the skorulis/additional-assemblies branch 2 times, most recently from 57f0358 to 2843246 Compare August 28, 2023 00:22
@Argument(help: """
An array of string arguments for the name of each module dependency.
If none are provided a file will still be written to the outputPath.
If the module name ends in "Assembly" it will be treated as an additional assembly.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it also treats some dependency module names as additional dependencies?

Copy link
Collaborator

@bradfol bradfol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chatted on a call, seems like this is easiest way to go based on the limitations of cocoapods

@skorulis-ap skorulis-ap force-pushed the skorulis/additional-assemblies branch from 2843246 to 3f22a2c Compare August 28, 2023 23:27
@skorulis-ap skorulis-ap merged commit 00a1483 into main Aug 28, 2023
@skorulis-ap skorulis-ap deleted the skorulis/additional-assemblies branch August 28, 2023 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants