We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98a1ed3 commit 08a9909Copy full SHA for 08a9909
src/templates/routes.py.ejs
@@ -168,9 +168,9 @@ endpoints.forEach(function(endpoint) {
168
169
// LATER: add support for aggregated_queries (#17)
170
const argsFromQuery = method.query ? extractParamsFromQuery(method.query).map(stipOurPrefixes) : []
171
- const methodArgs = Array.from(new Set([...argsFromPath, ...argsFromQuery, 'conn=Depends(db_connection)']))
172
173
if (hasGetOne || hasGetMany) {
+ const methodArgs = Array.from(new Set([...argsFromPath, ...argsFromQuery, 'conn=Depends(db_connection)']))
174
175
const queriesWithNames = []
176
if (method.query) {
0 commit comments