Skip to content

Commit

Permalink
Bump go-playground/form to v4.2.0 (#333)
Browse files Browse the repository at this point in the history
Co-authored-by: Thorsten Essig <[email protected]>
  • Loading branch information
carstendietrich and tessig authored Aug 26, 2021
1 parent e463595 commit bef4365
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* **Breaking**: Make naming convention consistent in graphql schema `Commerce_Cart_*`
* **Breaking**: Remove the fields `getAdditionalData, additionalDataKeys, additionalDeliveryInfoKeys` from the `Commerce_CartDeliveryInfo` type
* **Breaking**: `Commerce_Cart_UpdateDeliveryShippingOptions` mutation responded with slice of `Commerce_Cart_DeliveryAddressForm` which was incorrect as we don't process any form data within the mutation. It responds now rightly only with `processed` state.
* **Breaking**: Upgrade github.com/go-playground/form to v4, all types are fully compatible, but import paths have to be changed

**checkout**
* Introducing Flamingo events on final states of the place order process
Expand All @@ -41,6 +42,7 @@
POST /api/v1/checkout/placeorder/refresh
POST /api/v1/checkout/placeorder/refresh-blocking
```
* **Breaking**: Upgrade github.com/go-playground/form to v4, all types are fully compatible, but import paths have to be changed
**customer**
* Add mockery mocks for both `Customer` / `CustomerIdentityService` for easier testing
Expand Down
2 changes: 1 addition & 1 deletion cart/interfaces/controller/forms/personaldataform.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"flamingo.me/flamingo/v3/framework/web"
"flamingo.me/form/application"
"flamingo.me/form/domain"
"github.com/go-playground/form"
"github.com/go-playground/form/v4"

cartApplication "flamingo.me/flamingo-commerce/v3/cart/application"
"flamingo.me/flamingo-commerce/v3/cart/domain/cart"
Expand Down
2 changes: 1 addition & 1 deletion checkout/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"flamingo.me/flamingo/v3/framework/flamingo"
"flamingo.me/flamingo/v3/framework/web"
flamingographql "flamingo.me/graphql"
"github.com/go-playground/form"
"github.com/go-playground/form/v4"

"flamingo.me/flamingo-commerce/v3/checkout/infrastructure/contextstore"
"flamingo.me/flamingo-commerce/v3/checkout/interfaces/graphql/dto"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/99designs/gqlgen v0.11.4-0.20200726064323-39a12e0f1b6d
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
github.com/gavv/httpexpect/v2 v2.0.2
github.com/go-playground/form v3.1.4+incompatible
github.com/go-playground/form/v4 v4.2.0
github.com/go-redsync/redsync v1.3.1
github.com/go-test/deep v1.0.1
github.com/gomodule/redigo v2.0.0+incompatible
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh
github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
github.com/go-playground/form v3.1.4+incompatible h1:lvKiHVxE2WvzDIoyMnWcjyiBxKt2+uFJyZcPYWsLnjI=
github.com/go-playground/form v3.1.4+incompatible/go.mod h1:lhcKXfTuhRtIZCIKUeJ0b5F207aeQCPbZU09ScKjwWg=
github.com/go-playground/form/v4 v4.2.0 h1:N1wh+Goz61e6w66vo8vJkQt+uwZSoLz50kZPJWR8eic=
github.com/go-playground/form/v4 v4.2.0/go.mod h1:q1a2BY+AQUUzhl6xA/6hBetay6dEIhMHjgvJiGo6K7U=
github.com/go-playground/locales v0.12.1/go.mod h1:IUMDtCfWo/w/mtMfIE/IG2K+Ey3ygWanZIBtBW0W2TM=
github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q=
github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8=
Expand Down

0 comments on commit bef4365

Please sign in to comment.