I have used Apollo-ios-cli version (CLI version: 1.15.3) Now i have 17.
Here is my .config file: `{
“schemaNamespace” : “xxxAPI”,
“input” : {
“operationSearchPaths” : [
“GraphQL/.graphql”
],
“schemaSearchPaths” : [
“Supergraph/.graphqls”
]
},
“output” : {
“testMocks” : {
“none” : {
}
},
“schemaTypes” : {
“path” : "./XXXAPI,
“moduleType” : {
“swiftPackageManager”: {}
},
“federation”: true
},
“operations” : {
“inSchemaModule” : {
}
}
}
}
` The exact same work in another project, but there i have used 1.15 ios-cli instead. Now i get this error:
[DEBUG - ApolloCodegenLib:Glob.swift:211] - Evaluating /Users/xx/Documents/xx/GraphQL/.graphql[DEBUG - ApolloCodegenLib:Glob.swift:211] - Evaluating /Users/xx/Documents/xx/Supergraph/.graphqls
[DEBUG - ApolloCodegenLib:Glob.swift:225] - Matched /Users/xx/Documents/xx/Supergraph/schema.graphqls
[DEBUG - ApolloCodegenLib:Glob.swift:225] - Matched /Users/xx/Documents/xx/GraphQL/HasUserInfo.graphql
[DEBUG - ApolloCodegenLib:Glob.swift:225] - Matched /Users/xx/Documents/xx/GraphQL/GetUserDetails.graphql
Error: JavaScriptError: GraphQLError-Syntax Error: Unexpected character: “”.-GraphQLError@
c@
D@
lookahead@
advance@
advanceLexer@
expectToken@
many@
parseSelectionSet@
parseOperationDefinition@
many@
parseDocument@
@
I use the same federated schema that i have copied from my server and to the graphqls file i use. So what is wrong? I cant quite understand it since it work in the other.