Skip to content

[airbnb] Fix missing "Foundation" imports#620

Merged
designatednerd merged 1 commit intoapollographql:masterfrom
skevy:fix-foundation-imports
Jul 11, 2019
Merged

[airbnb] Fix missing "Foundation" imports#620
designatednerd merged 1 commit intoapollographql:masterfrom
skevy:fix-foundation-imports

Conversation

@skevy
Copy link
Copy Markdown
Contributor

@skevy skevy commented Jul 11, 2019

I noticed when pulling in 0.11.0 to Airbnb that there were a bunch of failures related to certain types not being defined. This was happening due to missing Foundation imports.

This PR simply adds those imports where appropriate.

Copy link
Copy Markdown
Contributor

@designatednerd designatednerd left a comment

Choose a reason for hiding this comment

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

It looks like this is the same issue hitting this commenter using SPM to integrate.

A couple of these are my fault for not realizing LocalizedError is part of Foundation and not raw Swift, but a couple of these are in files that haven't been touched in approximately forever. Interesting that they're just freaking out now!

@designatednerd designatednerd merged commit 443637a into apollographql:master Jul 11, 2019
@designatednerd designatednerd added this to the 0.11.1 milestone Jul 11, 2019
@skevy skevy deleted the fix-foundation-imports branch July 11, 2019 15:19
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