diff --git a/go.mod b/go.mod index d4a6ee56d..d0303538b 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( flamingo.me/form v1.1.1 flamingo.me/graphql v1.10.0 flamingo.me/pugtemplate v1.3.0 - github.com/99designs/gqlgen v0.17.36 + github.com/99designs/gqlgen v0.17.43 github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 github.com/gavv/httpexpect/v2 v2.15.0 github.com/go-playground/form/v4 v4.2.1 @@ -24,7 +24,7 @@ require ( github.com/stvp/tempredis v0.0.0-20181119212430-b82af8480203 github.com/swaggo/swag v1.16.3 github.com/testcontainers/testcontainers-go v0.23.0 - github.com/vektah/gqlparser/v2 v2.5.8 + github.com/vektah/gqlparser/v2 v2.5.11 go.opencensus.io v0.24.0 go.uber.org/goleak v1.2.1 golang.org/x/mod v0.12.0 @@ -122,6 +122,7 @@ require ( github.com/sanity-io/litter v1.5.5 // indirect github.com/sergi/go-diff v1.3.1 // indirect github.com/sirupsen/logrus v1.9.3 // indirect + github.com/sosodev/duration v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.5.0 // indirect github.com/uber/jaeger-client-go v2.25.0+incompatible // indirect diff --git a/go.sum b/go.sum index 953716284..90c002d18 100644 --- a/go.sum +++ b/go.sum @@ -53,6 +53,8 @@ flamingo.me/pugtemplate v1.3.0 h1:5VSvP6fvJDF1KV9aj87UPH9zOM/fSMwTtW3xhUa9oCs= flamingo.me/pugtemplate v1.3.0/go.mod h1:hkw1yz048Wzyiv38dmKlzjh4HngqP86knM/1ZQbEKK4= github.com/99designs/gqlgen v0.17.36 h1:u/o/rv2SZ9s5280dyUOOrkpIIkr/7kITMXYD3rkJ9go= github.com/99designs/gqlgen v0.17.36/go.mod h1:6RdyY8puhCoWAQVr2qzF2OMVfudQzc8ACxzpzluoQm4= +github.com/99designs/gqlgen v0.17.43 h1:I4SYg6ahjowErAQcHFVKy5EcWuwJ3+Xw9z2fLpuFCPo= +github.com/99designs/gqlgen v0.17.43/go.mod h1:lO0Zjy8MkZgBdv4T1U91x09r0e0WFOdhVUutlQs1Rsc= github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= @@ -496,6 +498,8 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sosodev/duration v1.1.0 h1:kQcaiGbJaIsRqgQy7VGlZrVw1giWO+lDoX3MCPnpVO4= +github.com/sosodev/duration v1.1.0/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= @@ -541,6 +545,8 @@ github.com/valyala/fasthttp v1.34.0/go.mod h1:epZA5N+7pY6ZaEKRmstzOuYJx9HI8DI1oa github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc= github.com/vektah/gqlparser/v2 v2.5.8 h1:pm6WOnGdzFOCfcQo9L3+xzW51mKrlwTEg4Wr7AH1JW4= github.com/vektah/gqlparser/v2 v2.5.8/go.mod h1:z8xXUff237NntSuH8mLFijZ+1tjV1swDbpDqjJmk6ME= +github.com/vektah/gqlparser/v2 v2.5.11 h1:JJxLtXIoN7+3x6MBdtIP59TP1RANnY7pXOaDnADQSf8= +github.com/vektah/gqlparser/v2 v2.5.11/go.mod h1:1rCcfwB2ekJofmluGWXMSEnPMZgbxzwj6FaZ/4OT8Cc= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo= github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= diff --git a/test/integrationtest/projecttest/graphql/generated.go b/test/integrationtest/projecttest/graphql/generated.go index 61dfd37a4..dca1f814f 100644 --- a/test/integrationtest/projecttest/graphql/generated.go +++ b/test/integrationtest/projecttest/graphql/generated.go @@ -45,6 +45,7 @@ import ( // NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface. func NewExecutableSchema(cfg Config) graphql.ExecutableSchema { return &executableSchema{ + schema: cfg.Schema, resolvers: cfg.Resolvers, directives: cfg.Directives, complexity: cfg.Complexity, @@ -52,6 +53,7 @@ func NewExecutableSchema(cfg Config) graphql.ExecutableSchema { } type Config struct { + Schema *ast.Schema Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot @@ -1114,12 +1116,16 @@ type QueryResolver interface { } type executableSchema struct { + schema *ast.Schema resolvers ResolverRoot directives DirectiveRoot complexity ComplexityRoot } func (e *executableSchema) Schema() *ast.Schema { + if e.schema != nil { + return e.schema + } return parsedSchema } @@ -5670,14 +5676,14 @@ func (ec *executionContext) introspectSchema() (*introspection.Schema, error) { if ec.DisableIntrospection { return nil, errors.New("introspection disabled") } - return introspection.WrapSchema(parsedSchema), nil + return introspection.WrapSchema(ec.Schema()), nil } func (ec *executionContext) introspectType(name string) (*introspection.Type, error) { if ec.DisableIntrospection { return nil, errors.New("introspection disabled") } - return introspection.WrapTypeFromDef(parsedSchema, parsedSchema.Types[name]), nil + return introspection.WrapTypeFromDef(ec.Schema(), ec.Schema().Types[name]), nil } //go:embed "schema/schema.graphql" "schema/flamingo.me_flamingo-commerce_v3_price_interfaces_graphql-Service.graphql" "schema/flamingo.me_flamingo-commerce_v3_search_interfaces_graphql-Service.graphql" "schema/flamingo.me_flamingo-commerce_v3_product_interfaces_graphql-Service.graphql" "schema/flamingo.me_flamingo-commerce_v3_customer_interfaces_graphql-Service.graphql" "schema/flamingo.me_flamingo-commerce_v3_cart_interfaces_graphql-Service.graphql" "schema/flamingo.me_flamingo-commerce_v3_checkout_interfaces_graphql-Service.graphql" "schema/flamingo.me_flamingo-commerce_v3_category_interfaces_graphql-Service.graphql" @@ -37487,8 +37493,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddToCartInput(ctx conte } switch k { case "marketplaceCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("marketplaceCode")) data, err := ec.unmarshalNID2string(ctx, v) if err != nil { @@ -37496,8 +37500,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddToCartInput(ctx conte } it.MarketplaceCode = data case "qty": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("qty")) data, err := ec.unmarshalNInt2int(ctx, v) if err != nil { @@ -37505,8 +37507,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddToCartInput(ctx conte } it.Qty = data case "deliveryCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deliveryCode")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37514,8 +37514,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddToCartInput(ctx conte } it.DeliveryCode = data case "variantMarketplaceCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("variantMarketplaceCode")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37523,8 +37521,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddToCartInput(ctx conte } it.VariantMarketplaceCode = data case "bundleConfiguration": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("bundleConfiguration")) data, err := ec.unmarshalOCommerce_Cart_ChoiceConfigurationInput2ᚕflamingoᚗmeᚋflamingoᚑcommerceᚋv3ᚋcartᚋinterfacesᚋgraphqlᚋdtoᚐChoiceConfigurationᚄ(ctx, v) if err != nil { @@ -37552,8 +37548,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } switch k { case "vat": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("vat")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37561,8 +37555,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.Vat = data case "firstname": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("firstname")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37570,8 +37562,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.Firstname = data case "lastname": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("lastname")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37579,8 +37569,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.Lastname = data case "middleName": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("middleName")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37588,8 +37576,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.MiddleName = data case "title": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37597,8 +37583,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.Title = data case "salutation": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("salutation")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37606,8 +37590,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.Salutation = data case "street": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("street")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37615,8 +37597,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.Street = data case "streetNr": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("streetNr")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37624,8 +37604,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.StreetNr = data case "addressLine1": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("addressLine1")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37633,8 +37611,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.AddressLine1 = data case "addressLine2": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("addressLine2")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37642,8 +37618,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.AddressLine2 = data case "company": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("company")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37651,8 +37625,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.Company = data case "city": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("city")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37660,8 +37632,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.City = data case "postCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("postCode")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37669,8 +37639,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.PostCode = data case "state": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("state")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37678,8 +37646,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.State = data case "regionCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("regionCode")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37687,8 +37653,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.RegionCode = data case "country": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("country")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37696,8 +37660,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.Country = data case "countryCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("countryCode")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37705,8 +37667,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.CountryCode = data case "phoneNumber": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("phoneNumber")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37714,8 +37674,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_AddressFormInput(ctx con } it.PhoneNumber = data case "email": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("email")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37743,8 +37701,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_ChoiceConfigurationInput } switch k { case "identifier": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("identifier")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37752,8 +37708,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_ChoiceConfigurationInput } it.Identifier = data case "marketplaceCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("marketplaceCode")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37761,8 +37715,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_ChoiceConfigurationInput } it.MarketplaceCode = data case "variantMarketplaceCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("variantMarketplaceCode")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -37770,8 +37722,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_ChoiceConfigurationInput } it.VariantMarketplaceCode = data case "qty": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("qty")) data, err := ec.unmarshalNInt2int(ctx, v) if err != nil { @@ -37799,8 +37749,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryAdditionalDataIn } switch k { case "deliveryCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deliveryCode")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37808,8 +37756,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryAdditionalDataIn } it.DeliveryCode = data case "additionalData": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("additionalData")) data, err := ec.unmarshalNCommerce_Cart_KeyValueInput2ᚕflamingoᚗmeᚋflamingoᚑcommerceᚋv3ᚋcartᚋinterfacesᚋgraphqlᚋdtoᚐKeyValueᚄ(ctx, v) if err != nil { @@ -37837,8 +37783,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryAddressInput(ctx } switch k { case "deliveryCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deliveryCode")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37846,8 +37790,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryAddressInput(ctx } it.LocationCode = data case "deliveryAddress": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deliveryAddress")) data, err := ec.unmarshalOCommerce_Cart_AddressFormInput2flamingoᚗmeᚋflamingoᚑcommerceᚋv3ᚋcartᚋinterfacesᚋcontrollerᚋformsᚐAddressForm(ctx, v) if err != nil { @@ -37855,8 +37797,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryAddressInput(ctx } it.DeliveryAddress = data case "useBillingAddress": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("useBillingAddress")) data, err := ec.unmarshalNBoolean2bool(ctx, v) if err != nil { @@ -37864,8 +37804,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryAddressInput(ctx } it.UseBillingAddress = data case "method": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("method")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37873,8 +37811,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryAddressInput(ctx } it.ShippingMethod = data case "carrier": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("carrier")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -37882,8 +37818,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryAddressInput(ctx } it.ShippingCarrier = data case "desiredTime": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("desiredTime")) data, err := ec.unmarshalOTime2timeᚐTime(ctx, v) if err != nil { @@ -37911,8 +37845,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryShippingOptionIn } switch k { case "deliveryCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("deliveryCode")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37920,8 +37852,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryShippingOptionIn } it.DeliveryCode = data case "method": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("method")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37929,8 +37859,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_DeliveryShippingOptionIn } it.Method = data case "carrier": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("carrier")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37958,8 +37886,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_KeyValueInput(ctx contex } switch k { case "key": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("key")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37967,8 +37893,6 @@ func (ec *executionContext) unmarshalInputCommerce_Cart_KeyValueInput(ctx contex } it.Key = data case "value": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("value")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -37996,8 +37920,6 @@ func (ec *executionContext) unmarshalInputCommerce_Price_ChargeQualifierInput(ct } switch k { case "type": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -38005,8 +37927,6 @@ func (ec *executionContext) unmarshalInputCommerce_Price_ChargeQualifierInput(ct } it.Type = data case "reference": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reference")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -38034,8 +37954,6 @@ func (ec *executionContext) unmarshalInputCommerce_Product_ChoiceConfigurationIn } switch k { case "identifier": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("identifier")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -38043,8 +37961,6 @@ func (ec *executionContext) unmarshalInputCommerce_Product_ChoiceConfigurationIn } it.Identifier = data case "marketplaceCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("marketplaceCode")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -38052,8 +37968,6 @@ func (ec *executionContext) unmarshalInputCommerce_Product_ChoiceConfigurationIn } it.MarketplaceCode = data case "variantMarketplaceCode": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("variantMarketplaceCode")) data, err := ec.unmarshalOString2ᚖstring(ctx, v) if err != nil { @@ -38061,8 +37975,6 @@ func (ec *executionContext) unmarshalInputCommerce_Product_ChoiceConfigurationIn } it.VariantMarketplaceCode = data case "qty": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("qty")) data, err := ec.unmarshalNInt2int(ctx, v) if err != nil { @@ -38090,8 +38002,6 @@ func (ec *executionContext) unmarshalInputCommerce_Search_KeyValueFilter(ctx con } switch k { case "k": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("k")) data, err := ec.unmarshalNString2string(ctx, v) if err != nil { @@ -38099,8 +38009,6 @@ func (ec *executionContext) unmarshalInputCommerce_Search_KeyValueFilter(ctx con } it.K = data case "v": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("v")) data, err := ec.unmarshalOString2ᚕstringᚄ(ctx, v) if err != nil { @@ -38128,8 +38036,6 @@ func (ec *executionContext) unmarshalInputCommerce_Search_Request(ctx context.Co } switch k { case "pageSize": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pageSize")) data, err := ec.unmarshalOInt2int(ctx, v) if err != nil { @@ -38137,8 +38043,6 @@ func (ec *executionContext) unmarshalInputCommerce_Search_Request(ctx context.Co } it.PageSize = data case "page": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("page")) data, err := ec.unmarshalOInt2int(ctx, v) if err != nil { @@ -38146,8 +38050,6 @@ func (ec *executionContext) unmarshalInputCommerce_Search_Request(ctx context.Co } it.Page = data case "sortBy": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("sortBy")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil { @@ -38155,8 +38057,6 @@ func (ec *executionContext) unmarshalInputCommerce_Search_Request(ctx context.Co } it.SortBy = data case "keyValueFilters": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("keyValueFilters")) data, err := ec.unmarshalOCommerce_Search_KeyValueFilter2ᚕflamingoᚗmeᚋflamingoᚑcommerceᚋv3ᚋsearchᚋinterfacesᚋgraphqlᚋsearchdtoᚐCommerceSearchKeyValueFilterᚄ(ctx, v) if err != nil { @@ -38164,8 +38064,6 @@ func (ec *executionContext) unmarshalInputCommerce_Search_Request(ctx context.Co } it.KeyValueFilters = data case "query": - var err error - ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("query")) data, err := ec.unmarshalOString2string(ctx, v) if err != nil {