Closed prajwal497 closed 1 year ago
@daffl Hello can you please assist me urgently on this?
The query syntax does not work reliably with arrays. You can add your own properties to the query syntax as a union or intersect type (e.g. see https://dove.feathersjs.com/api/schema/typebox.html#querysyntax) or extend the querySyntax JSON schema with the property you want to allow.
But i am using JSON schema and i need nested schema structure (array and objects) in main data model schema Union type is supported in TypeBox, right?
I'll revert the handling of this in https://github.com/feathersjs/feathers/pull/2941 - the main reason why it threw an error was when using $ref
which definitely does not work. However, any
and things like that should be avoided as well.
Steps to reproduce
Can not create query syntax schema for property 'modes'. Only types string, number, integer, boolean, null are allowed.
Expected behavior
Module versions (especially the part that's not working):
NodeJS version:
Operating System:
Browser Version:
React Native Version:
Module Loader: