import { TypeEditor } from "../../TypeEditor.js";
import { createObjectEditor } from "../../createObjectEditor.js";

export class ObjectEditor extends TypeEditor {
    inline = false;

    build(parent, field, registry) {
        const result = createObjectEditor(field.adapter.read(parent, field.name), registry);

        return result;
    }
}
