Aleksei Tcvetkov
Aleksei Tcvetkov
**EDIT** My first thought was wrong. Problem I described is not the same that described in issue . **ORIGINAL** As far as I understand we talk about following situation: ```...
I tried but ``` @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, ) @JsonSubTypes(Array( new Type(value = classOf[TypeA]), new Type(value = classOf[TypeB]) ) ) sealed trait Some case class TypeA(v: String)...
Yes. It will solve the problem, but I thing they are discouraged for a reason (unknown for me), so I just created custom serializer and deserializer for sealed trait. It...
You can limit visibility of your bean interface with module declaration. You can't inject bean if its interface isn't accessible. Well, technically you can with referencing them by name, but...
Another related ``` CREATE TABLE A.A1(ID INT, X INT); > ok CREATE TABLE A.A2(ID INT, X INT DEFAULT (SELECT MAX(ID) FROM A.A1)); > ok ALTER TABLE A.A1 ALTER COLUMN X...