This pull request fixes an issue in the querySyntax helpers for JSON schema and TypeBox where it threw an error when passing an empty schema (no properties) which should still be possible. It now also throws a more descriptive error when trying to create a query syntax helper for a non-primitive type which is currently not possible.
This pull request fixes an issue in the
querySyntax
helpers for JSON schema and TypeBox where it threw an error when passing an empty schema (no properties) which should still be possible. It now also throws a more descriptive error when trying to create a query syntax helper for a non-primitive type which is currently not possible.