useVersion2Compat

open override fun useVersion2Compat(rootPackageName: String?)

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