Skip to content

FileFinder appears to be in ApolloCodegenLib but it is not. #3521

@jonathan-guide

Description

@jonathan-guide

I recently updated from 1.4.0 to the latest version, only to find that my swift script suddenly failed to build. The error is "Cannot find 'FileFinder' in scope".

Image

It would appear from the online documentation that I should be able to access FileFinder from ApolloCodegenLib, but looking into the source, it appears to be in the apollo-ios-dev repo. So in order to make my code run I have to add SwiftScriptHelpers as a dependency or copy and paste the FileFinder file to my code.

This is easy enough to do, but the removal of FileFinder from the ApolloCodegenLib isn't referenced anywhere in the change log or other documentation, so it took my a decent amount of time to discover this. Anyone else upgrading from an older version might run into this too, especially since FileFinder is referenced in the now archived iOS Codegen Template

What would be the suggested approach? Any of my suggestions, or something different? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions