isADependencyOf

abstract fun isADependencyOf(dependencyNotation: Any)

Counterpoint of dependsOn. isADependencyOf allows a schema module to discover used types in downstream modules automatically without having to specify alwaysGenerateTypesMatching.

This works by setting a dependency on the IR in downstream modules. Because the IR task and the codegen task are separate this does not create a cycle.

See also