feathers icon indicating copy to clipboard operation
feathers copied to clipboard

virtual properties have inconsistent behavior with query

Open AshotN opened this issue 1 year ago • 0 comments

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"

AshotN avatar Feb 06 '24 22:02 AshotN