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
Doesn’t conform to protocol when build with Apollo pod 0.9.0 #305
Comments
What version of |
@martijnwalraven the script was renamed from |
Leaves the script error:
apollo-codegen is 0.20.2 |
Editing the script |
Since |
@martijnwalraven Managed to figure it out, thank you! |
actually we fixed it with the new build script @martijnwalraven mentioned, but we also did this: |
Going to close this one out - current build steps can be found here. |
When I update pod 0.8.0 to 0.9.0, models generated by code-gen needs property resultMap. But the code-gen doesn’t automatically add resultMap, even build fails.
To resolve this problem, I tried to add resultMap one by one to every module in API.swift. However it requires advanced initializers which considers resultMap and established properties like rawValue.
If 0.9.0 needs extra handling, please leave comments.
The text was updated successfully, but these errors were encountered: