Skip to content

Commit 7d11a88

Browse files
author
Mateus Garcia
committed
fix: revert id pipe
1 parent e59761d commit 7d11a88

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libs/json-api-nestjs/src/lib/config/bindings.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const Bindings: BindingsConfig = {
5050
{
5151
property: PARAMS_RESOURCE_ID,
5252
decorator: Param,
53-
mixins: [],
53+
mixins: [idPipeMixin],
5454
},
5555
{
5656
decorator: Query,
@@ -72,7 +72,7 @@ const Bindings: BindingsConfig = {
7272
{
7373
property: PARAMS_RESOURCE_ID,
7474
decorator: Param,
75-
mixins: [],
75+
mixins: [idPipeMixin],
7676
},
7777
],
7878
},
@@ -97,7 +97,7 @@ const Bindings: BindingsConfig = {
9797
{
9898
property: PARAMS_RESOURCE_ID,
9999
decorator: Param,
100-
mixins: [],
100+
mixins: [idPipeMixin],
101101
},
102102
{
103103
decorator: Body,
@@ -132,7 +132,7 @@ const Bindings: BindingsConfig = {
132132
{
133133
property: PARAMS_RESOURCE_ID,
134134
decorator: Param,
135-
mixins: [],
135+
mixins: [idPipeMixin],
136136
},
137137
{
138138
property: PARAMS_RELATION_NAME,
@@ -154,7 +154,7 @@ const Bindings: BindingsConfig = {
154154
{
155155
property: PARAMS_RESOURCE_ID,
156156
decorator: Param,
157-
mixins: [],
157+
mixins: [idPipeMixin],
158158
},
159159
{
160160
property: PARAMS_RELATION_NAME,
@@ -176,7 +176,7 @@ const Bindings: BindingsConfig = {
176176
{
177177
property: PARAMS_RESOURCE_ID,
178178
decorator: Param,
179-
mixins: [],
179+
mixins: [idPipeMixin],
180180
},
181181
{
182182
property: PARAMS_RELATION_NAME,

0 commit comments

Comments
 (0)