We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to call _find like this leads to a type error if website is not available in query properties.
_find
website
_find is not limited by query properties
export const companyQueryProperties = Type.Pick(companySchema, ['name', 'active', 'id', 'created_at'])
const companys = await app.service('company')._find({ paginate: false, query: { $select: ['name', 'website'] }, user: context.params.user })
TypeScript should be aware that underscore methods have access to everything
Type "website" is not assignable to type "id" | "name" | "active" | "created_at"
"@feathersjs/feathers": "5.0.21",
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
Trying to call
_find
like this leads to a type error ifwebsite
is not available in query properties._find
is not limited by query propertiesExpected behavior
TypeScript should be aware that underscore methods have access to everything
Actual behavior
Type "website" is not assignable to type "id" | "name" | "active" | "created_at"
System configuration
"@feathersjs/feathers": "5.0.21",
The text was updated successfully, but these errors were encountered: