Closed piotrp closed 4 days ago
created: #6882 :warning: Be careful! Snapshot changes are not necessarily the cause of the error. Check the logs.
What about encodeRecord? There is also $schema in error.
I left full schema in places that are likely to be called directly, not as part of a union. In case of records it may be helpful to have a full schema in error message.
This PR is meant as a quick fix to work around the most important inefficiency: handling schemas with nulls (e.g. type: ["null", "string"]
). This entire encoder should be rewritten to handle unions efficiently.
Describe your changes
Checklist before merge