I am using GraphQL API with iOS project.my .graphql file is,
mutation SigninQuery($email: String! , $password: String!) {
signin(email: $email, password: $password) {
result {
token
firstName
lastName
profileImage
}
}
}
and my files are located in the following order,
Project
- ->appDelegate
- ->info.plist
- ->schema.json
-->Graphql[Folder]
->API.swift
->ApiFile.graphql
My API.swift file still exist only with header
import Apollo
. Anyone can you please help me to findout the solution
