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
The Scheme class allows wrapping mutable and read-only dynamic Meta trees and adding a statically typed layer to them.
It is used quite extensively in Plotly.kt to allow observation of properties and dynamic changes.
Currently, Scheme is mutable by default and if used on read-only meta, it creates a mutable layer on top of the read-only base. The idea is to automatically generate a read-only version of mutable Scheme via compiler plugin and use it when SchemeSpec.read operation is used. The same plugin could be used to generate a descriptor from Scheme (#35).
The result could be probably achieved with KSP.
The text was updated successfully, but these errors were encountered:
The Scheme class allows wrapping mutable and read-only dynamic
Meta
trees and adding a statically typed layer to them.It is used quite extensively in Plotly.kt to allow observation of properties and dynamic changes.
Currently,
Scheme
is mutable by default and if used on read-only meta, it creates a mutable layer on top of the read-only base. The idea is to automatically generate a read-only version of mutableScheme
via compiler plugin and use it whenSchemeSpec.read
operation is used. The same plugin could be used to generate a descriptor fromScheme
(#35).The result could be probably achieved with KSP.
The text was updated successfully, but these errors were encountered: