useVersion2Compat

abstract fun useVersion2Compat(rootPackageName: String? = null)

A shorthand method that configures defaults that match Apollo Android 2.x codegen

In practice, it does the following:

packageNamesFromFilePaths(rootPackageName)
useSchemaPackageNameForFragments.set(true)
codegenModels.set(MODELS_COMPAT)

See the individual options for a more complete description.

This method is deprecated and provided for migration purposes only. It will be removed in a future version