Hello, I tried to Apollo 1.0.1 for my project trying with the both options spm and manual. I encounter the same problem. Here is the my apollo-codegen-config.json
{
"schemaName" : "schema.json",
"schemaDownloadConfiguration": {
"downloadMethod": {
"introspection": {
"endpointURL": "https://swapi-graphql.netlify.app/.netlify/functions/index",
"httpMethod": {
"POST": {}
},
"includeDeprecatedInputValues": false,
"outputFormat": "SDL"
}
},
"downloadTimeout": 60,
"headers": [],
"outputPath": "./schema.json"
},
"input" : {
"operationSearchPaths" : [
"./*.graphql"
],
"schemaSearchPaths" : [
"./*.graphqls"
]
},
"output" : {
"testMocks" : {
"none" : {
}
},
"schemaTypes" : {
"path" : "./MySchemaName",
"moduleType" : {
"swiftPackageManager" : {
}
}
},
"operations" : {
"relative" : {
}
}
}
}
and here is the my graphql query
query AllFilms($first: Int) {
allFilms(first: $first) {
films {
title
}
}
}
I counter the this problem: .graphql:1:error:Unknown type "Int"."]