You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, I see. Without having looked at the code, I think this might be just a branch missing somewhere in the code where I left a TODO. Reason being that there is no name defined for the allOf type here, so a name needs to be generated.
A generalised name generation could be:
sealedinterfaceGetHelloWorldResponse
@JvmInline value classFirst(valid:Int): GetHelloWorldResponse
@JvmInline value classSecond(valusername:String): GetHelloWorldResponse
Much more desirable would be:
sealedinterfaceGetHelloWorldResponse
@JvmInline value classId(valid:Int): GetHelloWorldResponse
@JvmInline value classUsername(valvalue:String): GetHelloWorldResponse
I'm open to building a special case into the (not yet overrideable) name generation part, to detect that if a name needs to be generated for an object with a single property, it can use the property name for name generation. In the case there is no conflict in the property names of the different subtypes of course.
Not 100% sure what's happening here. I think the following is valid?
The text was updated successfully, but these errors were encountered: