Union including Any fails to compile #1326
Labels
area/codegen
Code generation
impact/accessibility
Something that is difficult or impossible for some people to use
kind/bug
Some behavior is incorrect or out of spec
When generating a Java SDK with a property whose type is a
Union<Any, something>
, the builder methods are not compilable due to Java's erasure of generics at runtime.This could possibly be addressed in this piece of code:
pulumi-java/pkg/codegen/java/gen_program_expressions.go
Line 536 in f7468e1
Schema
Generated code
Compiler error
The text was updated successfully, but these errors were encountered: