Skip to content

Commit

Permalink
fix req object for param without ppx
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtori committed Nov 6, 2024
1 parent 28475f6 commit a4a1f05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ppx/ppx_common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ let rec get_ident_list_expr ?(acc=[]) e = match e.pexp_desc with

let service_params ~loc ~params ~security =
let lparams = Option.value ~default:[] (get_ident_list_expr params) in
let lparams = List.filter (fun p -> SSet.mem p !param_set) lparams in
let lsecurities = get_ident_list_expr security in
let lsecurities = match lsecurities with
| Some l ->
Expand Down

0 comments on commit a4a1f05

Please sign in to comment.