Closed hammo92 closed 3 months ago
The Surreal SDK allows RecordId and StringRecordId in the create method; updated the zod custom validator to allow for both.
RecordId
StringRecordId
create
Added a transform in the ZOD validator for string values to allow the allow the passing of strings as a record value in an object.
Sorting some changes for fixing the issue with record arrays not generating types correctly, meant to merge this before pushing those changes though.
The Surreal SDK allows
RecordId
andStringRecordId
in thecreate
method; updated the zod custom validator to allow for both.Added a transform in the ZOD validator for string values to allow the allow the passing of strings as a record value in an object.