engine/src/main/kotlin/io/kotless/gen/AWSGenerator.kt [32:58]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Application.Events.Scheduled::class to setOf(ScheduledEventsFactory), Application.API.StaticRoute::class to setOf(StaticRouteFactory), Application.API.DynamicRoute::class to setOf(DynamicRouteFactory) ) 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 [31:57]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Application.Events.Scheduled::class to setOf(ScheduledEventsFactory), Application.API.StaticRoute::class to setOf(StaticRouteFactory), Application.API.DynamicRoute::class to setOf(DynamicRouteFactory) ) 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()))) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -