engine/src/main/kotlin/io/kotless/gen/AWSGenerator.kt [38:59]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun generate(schema: Schema): Set { val context = GenerationContext(schema, schema.application) var newExecuted = true while (newExecuted) { newExecuted = false schema.visit { entity -> factories[entity::class].orEmpty().forEach { factory -> @Suppress("UNCHECKED_CAST") factory as GenerationFactory if (!factory.hasRan(entity, context)) { if (factory.mayRun(entity, context)) { factory.run(entity, context) newExecuted = true } } } } } return setOf(TFFile(context.webapp.api.name, ArrayList(context.entities.all()))) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - engine/src/main/kotlin/io/kotless/gen/AzureGenerator.kt [37:58]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun generate(schema: Schema): Set { val context = GenerationContext(schema, schema.application) var newExecuted = true while (newExecuted) { newExecuted = false schema.visit { entity -> factories[entity::class].orEmpty().forEach { factory -> @Suppress("UNCHECKED_CAST") factory as GenerationFactory if (!factory.hasRan(entity, context)) { if (factory.mayRun(entity, context)) { factory.run(entity, context) newExecuted = true } } } } } return setOf(TFFile(context.webapp.api.name, ArrayList(context.entities.all()))) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -