description type is String and not null. After calling toSerializable() on the record the type is string | undefined.as. Hope there is a better solution. 

map to fix the types (including the productId being string | null | undefined
toSerializable method is to convert content to plain JSON so it can be passed to the client, where the JSONData helper function restores the original types.react-query. I need to serialize it remove the xata functions, otherwise next.js throws errors.JSONData helper but all the columns end up being optional. Ie, null | undefined is being added to the type of each column.JSONData helper to consider the column constraints (such as notNull) when adding back the types. Would you mind opening an issue in the open source client-ts repo for our SDK team to review? https://github.com/xataio/client-ts/issues I can do it on your behalf, let me know!descriptionStringnot nulltoSerializable()productIdstring | null | undefinedtoSerializableJSONDataJSONDataJSONDatareact-querynull | undefined