@@ -3688,6 +3688,7 @@ func DecodeMethodCookieStringDefaultValidateRequest(mux goahttp.Muxer, decoder f
3688
3688
}
3689
3689
}
3690
3690
`
3691
+
3691
3692
var PayloadCookiePrimitiveStringDefaultDecodeCode = `// DecodeMethodCookiePrimitiveStringDefaultRequest returns a decoder for
3692
3693
// requests sent to the ServiceCookiePrimitiveStringDefault
3693
3694
// MethodCookiePrimitiveStringDefault endpoint.
@@ -5125,8 +5126,9 @@ func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp
5125
5126
}
5126
5127
path = uint(v)
5127
5128
}
5129
+ qp := r.URL.Query()
5128
5130
{
5129
- optionalRaw := r.URL.Query() .Get("optional")
5131
+ optionalRaw := qp .Get("optional")
5130
5132
if optionalRaw != "" {
5131
5133
v, err2 := strconv.ParseInt(optionalRaw, 10, strconv.IntSize)
5132
5134
if err2 != nil {
@@ -5137,7 +5139,7 @@ func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp
5137
5139
}
5138
5140
}
5139
5141
{
5140
- optionalButRequiredParamRaw := r.URL.Query() .Get("optional_but_required_param")
5142
+ optionalButRequiredParamRaw := qp .Get("optional_but_required_param")
5141
5143
if optionalButRequiredParamRaw == "" {
5142
5144
err = goa.MergeErrors(err, goa.MissingFieldError("optional_but_required_param", "query string"))
5143
5145
}
@@ -5182,8 +5184,9 @@ func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp
5182
5184
int64_ *int64
5183
5185
err error
5184
5186
)
5187
+ qp := r.URL.Query()
5185
5188
{
5186
- int_Raw := r.URL.Query() .Get("int")
5189
+ int_Raw := qp .Get("int")
5187
5190
if int_Raw != "" {
5188
5191
v, err2 := strconv.ParseInt(int_Raw, 10, strconv.IntSize)
5189
5192
if err2 != nil {
@@ -5194,7 +5197,7 @@ func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp
5194
5197
}
5195
5198
}
5196
5199
{
5197
- int32_Raw := r.URL.Query() .Get("int32")
5200
+ int32_Raw := qp .Get("int32")
5198
5201
if int32_Raw != "" {
5199
5202
v, err2 := strconv.ParseInt(int32_Raw, 10, 32)
5200
5203
if err2 != nil {
@@ -5205,7 +5208,7 @@ func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp
5205
5208
}
5206
5209
}
5207
5210
{
5208
- int64_Raw := r.URL.Query() .Get("int64")
5211
+ int64_Raw := qp .Get("int64")
5209
5212
if int64_Raw != "" {
5210
5213
v, err2 := strconv.ParseInt(int64_Raw, 10, 64)
5211
5214
if err2 != nil {
@@ -5234,8 +5237,9 @@ func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp
5234
5237
int64_ *int64
5235
5238
err error
5236
5239
)
5240
+ qp := r.URL.Query()
5237
5241
{
5238
- int_Raw := r.URL.Query() .Get("int")
5242
+ int_Raw := qp .Get("int")
5239
5243
if int_Raw != "" {
5240
5244
v, err2 := strconv.ParseInt(int_Raw, 10, strconv.IntSize)
5241
5245
if err2 != nil {
@@ -5251,7 +5255,7 @@ func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp
5251
5255
}
5252
5256
}
5253
5257
{
5254
- int32_Raw := r.URL.Query() .Get("int32")
5258
+ int32_Raw := qp .Get("int32")
5255
5259
if int32_Raw != "" {
5256
5260
v, err2 := strconv.ParseInt(int32_Raw, 10, 32)
5257
5261
if err2 != nil {
@@ -5267,7 +5271,7 @@ func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp
5267
5271
}
5268
5272
}
5269
5273
{
5270
- int64_Raw := r.URL.Query() .Get("int64")
5274
+ int64_Raw := qp .Get("int64")
5271
5275
if int64_Raw != "" {
5272
5276
v, err2 := strconv.ParseInt(int64_Raw, 10, 64)
5273
5277
if err2 != nil {
@@ -5360,6 +5364,7 @@ func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp
5360
5364
}
5361
5365
}
5362
5366
`
5367
+
5363
5368
var QueryMapAliasDecodeCode = `// DecodeMethodARequest returns a decoder for requests sent to the
5364
5369
// ServiceQueryMapAlias MethodA endpoint.
5365
5370
func DecodeMethodARequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (any, error) {
@@ -5718,6 +5723,7 @@ func DecodeMethodPathCustomInt32Request(mux goahttp.Muxer, decoder func(*http.Re
5718
5723
}
5719
5724
}
5720
5725
`
5726
+
5721
5727
var PayloadPathCustomInt64DecodeCode = `// DecodeMethodPathCustomInt64Request returns a decoder for requests sent to
5722
5728
// the ServicePathCustomInt64 MethodPathCustomInt64 endpoint.
5723
5729
func DecodeMethodPathCustomInt64Request(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (any, error) {
@@ -5745,6 +5751,7 @@ func DecodeMethodPathCustomInt64Request(mux goahttp.Muxer, decoder func(*http.Re
5745
5751
}
5746
5752
}
5747
5753
`
5754
+
5748
5755
var PayloadPathCustomUIntDecodeCode = `// DecodeMethodPathCustomUIntRequest returns a decoder for requests sent to the
5749
5756
// ServicePathCustomUInt MethodPathCustomUInt endpoint.
5750
5757
func DecodeMethodPathCustomUIntRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (any, error) {
@@ -5772,6 +5779,7 @@ func DecodeMethodPathCustomUIntRequest(mux goahttp.Muxer, decoder func(*http.Req
5772
5779
}
5773
5780
}
5774
5781
`
5782
+
5775
5783
var PayloadPathCustomUInt32DecodeCode = `// DecodeMethodPathCustomUInt32Request returns a decoder for requests sent to
5776
5784
// the ServicePathCustomUInt32 MethodPathCustomUInt32 endpoint.
5777
5785
func DecodeMethodPathCustomUInt32Request(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (any, error) {
@@ -5799,6 +5807,7 @@ func DecodeMethodPathCustomUInt32Request(mux goahttp.Muxer, decoder func(*http.R
5799
5807
}
5800
5808
}
5801
5809
`
5810
+
5802
5811
var PayloadPathCustomUInt64DecodeCode = `// DecodeMethodPathCustomUInt64Request returns a decoder for requests sent to
5803
5812
// the ServicePathCustomUInt64 MethodPathCustomUInt64 endpoint.
5804
5813
func DecodeMethodPathCustomUInt64Request(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) func(*http.Request) (any, error) {
0 commit comments