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
It would be nice to be able to define interface properties that are not actually part of the Kotlin interface.
Idea being something like this:
interfaceMyInterfacedata classMyDataClass(valid:Int): MyInterface
...
interface<MyInterface> {
property<String>("field1") // No default implementation and will run into runtime schema creation error if not implement in all types that implement this interface
property<String>("field2") { // This property has a default implementation, but can be overwritten within implemented types
resolver { a:MyInterface->"FIELD-2"
}
}
}
type<MyDataClass> {
property<String>("field1") {
resolver { data:MyDataClass->"FIELD-${data.id}"
}
}
}
The text was updated successfully, but these errors were encountered:
It would be nice to be able to define interface properties that are not actually part of the Kotlin interface.
Idea being something like this:
The text was updated successfully, but these errors were encountered: