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

Create subpackages to only include endpoints that are used #183

Open
AvdLee opened this issue Jul 28, 2022 · 2 comments
Open

Create subpackages to only include endpoints that are used #183

AvdLee opened this issue Jul 28, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@AvdLee
Copy link
Owner

AvdLee commented Jul 28, 2022

By separating the package into subpackages, we allow implementors to only use the endpoints they need. CreateAPI/CreateAPI#57 researched build times and showed that it's not easy to improve build times right now.

I'm pretty sure if packages include less files, build times will improve.

For example, we could follow the headers from this menu:

image

Maybe it's possible using interfaces, e.g. import AppStoreConnect_Swift_SDK.TestFlight

@AvdLee AvdLee added the enhancement New feature or request label Jul 28, 2022
@kean
Copy link

kean commented Jul 29, 2022

build times

~20 seconds on 10-core M1 Pro. I think that's as good as it gets for 75K lines.

@AvdLee
Copy link
Owner Author

AvdLee commented Aug 2, 2022

~20 seconds on 10-core M1 Pro. I think that's as good as it gets for 75K lines.

Interesting, I feel like it takes much longer locally for me. Either way: this ticket is also here to solve the large executable size after archiving. I'm hoping to lower it by just including the packages required for a project

@polpielladev polpielladev self-assigned this Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants