viur-framework / viur-core

The core component of ViUR, the Python framework for modern web development.
https://www.viur.dev
MIT License
13 stars 14 forks source link

Turn `FileLeafSkel.derived` into `JsonBone` #1306

Open phorward opened 1 month ago

phorward commented 1 month ago

Again, ViUR-core doesn't make use of its own capabilities.

https://github.com/viur-framework/viur-core/blob/e33f1d9d496859ab1a30a6d97744a775402410b0/src/viur/core/modules/file.py#L344 is currently a BaseBone, but contains an object. There should be a (validated) JsonBone used for that.