You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(First please check that this issue is not already solved as described
here - if it is a general question or suggestion please start a Discussion)
Tell us what broke. The more detailed the better.
I tried to add a nested sort field to the extensions for query synatx and it wouldn't work, I dug into the source code and saw that extensions are not considered, I'm not sure if this is expected behaviour or not?
If you can, please create a simple example that reproduces the issue and link to a gist, jrepo, etc. This makes it much easier for us to debug and issues that have a reproducible example will get higher priority.
I managed to solve it for my case by passing in an intersect type as the main argument:
Expected behavior
Tell us what should happen
Ideally, it would be great if the properties passed in as extensions could be used on the $sort as well as the $select
Actual behavior
These properties are currently ignored
Tell us what happens instead
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): "@feathersjs/typebox": "^5.0.29"
NodeJS version:
v20.14.0
Operating System:
MacOS
Browser Version:
N/A
React Native Version:
N/A
Module Loader:
npm
The text was updated successfully, but these errors were encountered:
Steps to reproduce
(First please check that this issue is not already solved as described
here - if it is a general question or suggestion please start a Discussion)
Tell us what broke. The more detailed the better.
I tried to add a nested sort field to the extensions for query synatx and it wouldn't work, I dug into the source code and saw that extensions are not considered, I'm not sure if this is expected behaviour or not?
If you can, please create a simple example that reproduces the issue and link to a gist, jrepo, etc. This makes it much easier for us to debug and issues that have a reproducible example will get higher priority.
I managed to solve it for my case by passing in an intersect type as the main argument:
Expected behavior
Tell us what should happen
Ideally, it would be great if the properties passed in as extensions could be used on the
$sort
as well as the$select
Actual behavior
These properties are currently ignored
Tell us what happens instead
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
"@feathersjs/typebox": "^5.0.29"
NodeJS version:
v20.14.0
Operating System:
MacOS
Browser Version:
N/A
React Native Version:
N/A
Module Loader:
npm
The text was updated successfully, but these errors were encountered: