Fix warnings from json files in target
nonfungibletunji opened this issue · comments
while working on creating a sample application, using the apollographl tutorial endpoint, https://apollo-fullstack-tutorial.herokuapp.com/
I am getting errors and warnings.
Showing Recent Issues
no rule to process file '/Users/stunjiturner/Downloads/CodeReviewRepos/OutOfThisWorld-Graphaello/ApolloFullstackTutorialHerokuappCom.graphql.json' of type 'text.json' for architecture 'x86_64'
Showing Recent Issues
/Users/stunjiturner/Downloads/CodeReviewRepos/OutOfThisWorld-Graphaello/Graphaello.swift:564:23: 'ApolloFullstackTutorialHerokuappCom' is ambiguous for type lookup in this context
This is a bug referring to how the json file is being added to the target
The issue is in this line:
It it adding the json file as if it were a swift file.
We will need to check what it should be added as instead, and add an option to createFile to define the option
Oh forgot to write here that this issue was fixed with: 0.1.0-alpha.11