IlluzionzDev / typespec

MIT License
0 stars 0 forks source link

Handle TypeSpec Union in Java #12

Closed IlluzionzDev closed 1 month ago

IlluzionzDev commented 1 month ago

A Union type represents an 'or' type, it can represent many different types at once. Java does not natively support this. For now TypeSpec Union will be implemented by declaring it as Object and type casting when needed.