Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtual properties have inconsistent behavior with query #3424

Open
AshotN opened this issue Feb 6, 2024 · 0 comments
Open

virtual properties have inconsistent behavior with query #3424

AshotN opened this issue Feb 6, 2024 · 0 comments

Comments

@AshotN
Copy link
Contributor

AshotN commented Feb 6, 2024

Steps to reproduce

https://codesandbox.io/p/devbox/feathers-select-bug-q4fsvw

It should just bootstrap itself and create a company on startup, so you can just instantly access it via /company

/company?$select[]=virtualField1 <-- this works
/company?$select[]=virtualField2 <-- this doesn't

Expected behavior

I would expect virtual properties to behave like regular ones

Actual behavior

resolvers bypass the query validation
Except for external resolvers

System configuration

Tell us about the applicable parts of your setup.

"@feathersjs/feathers": "5.0.21"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant