query rewrite

This commit is contained in:
2024-03-30 13:42:38 +02:00
parent b4521e92b8
commit 0e19c38f23
91 changed files with 1051 additions and 852 deletions
+2 -2
View File
@@ -2,10 +2,10 @@
namespace Lucent\Schema\Ui;
use Lucent\Graph\Data\FieldData;
use Lucent\JsonSchema\Property\Property;
use Lucent\JsonSchema\Property\PropertyType;
use Lucent\JsonSchema\Property\TypeProperty;
use Lucent\Record\RecordData;
use Lucent\Schema\Field\FieldDataInterface;
use Lucent\Schema\Field\FieldInfo;
use Lucent\Schema\Field\FieldInterface;
@@ -36,7 +36,7 @@ class Text implements FieldInterface,FieldDataInterface, RequiredInterface
$this->info = new FieldInfo("text", "Text", FieldType::STRING);
}
public function format(RecordData $input, RecordData $output): RecordData
public function format(FieldData $input, FieldData $output): FieldData
{
$value = $input->get($this->name);
$output->set($this->name,$value);