Skip to content

Commit

Permalink
fix: [CDS-83878]: added unique operation id for grouped query hook
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrant-harness committed Nov 16, 2023
1 parent 83e4ad3 commit dc794b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/long-files-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@harnessio/oats-plugin-react-query-harness': minor
---

added unique operation id for grouped query hook
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function {{hookName}}<T extends {{fetcherPropsName}} = {{fetcherPropsName
{{errorResponseName}}<GetPathParamsType<T>>
>(
[
{{operation.operationId | json}}
{{fetcherName | json}}
{% if pathParamsCode -%}
{% for name in pathParamsNamesList -%}
, props{{name | property_accessor}}
Expand Down

0 comments on commit dc794b3

Please sign in to comment.