class DgsCodegenVersionResolver {

	static String resolve(InitializrMetadata metadata, Version platformVersion, BuildSystem build) {<FILL_FUNCTION_BODY>}

}

		if (GradleBuildSystem.ID.equals(build.id())) {
			return metadata.getDependencies().get("dgs-codegen").resolve(platformVersion).getVersion();
		}
		else if (MavenBuildSystem.ID.equals(build.id())) {
			// https://github.com/deweyjose/graphqlcodegen/releases
			return "1.50";
		}
		throw new IllegalArgumentException("Could not resolve DGS Codegen version for build system " + build.id());
	
<no_super_class>