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

Breakout Codegen IR to separate module #37

Merged
merged 5 commits into from
Sep 18, 2023

Conversation

AnthonyMDev
Copy link
Contributor

Breaking the IR into it's own module allows us to remove the namespacing via an extension and improves organization and separation of concerns.

Operation identifier computation is now handled via a new OperationIdentifierFactory.
In my next PR, I'll be working on the ability to do custom operation identifier computation.

- Moved LinkedList and IsEverTrue into new “Utilities” target
- Created OperationIdentifierFactory to move identifier computation back into ApolloCodegenLib
Copy link
Member

@calvincestari calvincestari left a comment

Choose a reason for hiding this comment

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

LGTM!

.macOS(.v10_15),
.tvOS(.v12),
.watchOS(.v5)
.macOS(.v10_15)
Copy link
Member

Choose a reason for hiding this comment

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

Nice to be able to clean this up finally. That's a big win!

@AnthonyMDev AnthonyMDev merged commit 678a5e8 into project-breakup Sep 18, 2023
12 checks passed
@AnthonyMDev AnthonyMDev deleted the codegen-ir-refactor branch September 18, 2023 23:01
BobaFetters pushed a commit that referenced this pull request Sep 18, 2023
BobaFetters pushed a commit to apollographql/apollo-ios-codegen that referenced this pull request Sep 18, 2023
BobaFetters pushed a commit that referenced this pull request Sep 18, 2023
b5e0cf1 Breakout Codegen IR to separate module (#37)

git-subtree-dir: apollo-ios-codegen
git-subtree-split: b5e0cf1
BobaFetters pushed a commit that referenced this pull request Sep 18, 2023
…module

git-subtree-dir: apollo-ios-codegen
git-subtree-mainline: 676f262
git-subtree-split: b5e0cf1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants