Skip to content

Commit

Permalink
Merge pull request #95 from vtex-apps/chore/accept-orderform-querystring
Browse files Browse the repository at this point in the history
feat: add orderFormId as query parameter
  • Loading branch information
tlgimenes authored Jun 1, 2022
2 parents 9f21859 + 9593d71 commit 14dd6bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Accepts Order Form ID via query parameter on orderForm query

## [0.48.1] - 2022-04-18

Expand Down
4 changes: 2 additions & 2 deletions react/queries/orderForm.graphql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# import '../fragments/orderForm.graphql'

query orderForm($refreshOutdatedData: Boolean) {
orderForm(refreshOutdatedData: $refreshOutdatedData)
query orderForm($orderFormId: ID, $refreshOutdatedData: Boolean) {
orderForm(orderFormId: $orderFormId, refreshOutdatedData: $refreshOutdatedData)
@context(scope: "private") {
...OrderFormFragment
}
Expand Down

0 comments on commit 14dd6bb

Please sign in to comment.