@trapi/query
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@trapi/query", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "An tiny library which provides utility types/functions for request and response query handling.", | ||
@@ -53,3 +53,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "91fda58914c6ec3337fada8afa4b3f0cbe331a1e" | ||
"gitHead": "9cfbe2c6cd88204e5905170be27f8a368d93836f" | ||
} |
@@ -327,5 +327,5 @@ # @trapi/query 🌈 | ||
export async function getUsers(req: Request, res: Response) { | ||
const {fields, filter, include, page, sort} = req.query; | ||
// const {fields, filter, include, page, sort} = req.query; | ||
const output: QueryParseOutput = parseQuery({ | ||
const output: QueryParseOutput = parseQuery(req.query, { | ||
[QueryKey.FIELDS]: { | ||
@@ -332,0 +332,0 @@ defaultAlias: 'user', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123455