srcDir

abstract fun srcDir(directory: Any)

Adds the given directory as a GraphQL source root

Use srcDir if your files are outside "src/main/graphql" or to have them in multiple folders.

Parameters

directory

the directory where the .graphql operation files are directory is evaluated as in Project.file