Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
zedzior committed May 23, 2024
1 parent ef109b0 commit edbbc23
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions docs/developer/address.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,12 @@ Each field is validated separately, and each issue has a corresponding error cod
## Skipping the address validation

Since version 3.19, Saleor may completely skip the address validation. To do so, the `AddressInput` must receive `skipValidation` flag set to `true`.
This will turn off whole validation, except `country` field - this one requires proper `CountryCode` enum. Please note, that to use `skipValidation` flag,
Saleor may demand some extra permissions. Also, not all mutations support this feature. For more info, please check specific mutation details.
This will turn off whole validation, except `country` field - this one requires proper `CountryCode` enum.

Please note, that to use `skipValidation` flag, Saleor may demand some extra permissions. Also, not all mutations support this feature.

- `checkoutCreate` - requires `HANDLE_CHECKOUT` and `AUTHENTICATED_APP` permissions.
- `accountAddressCreate`, `accountAddressUpdate` and `accountUpdate` do not support the feature.

:::warning
When providing invalid address, Saleor may be unable to complete some external requests.
Expand Down
8 changes: 6 additions & 2 deletions versioned_docs/version-3.x/developer/address.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,12 @@ Each field is validated separately, and each issue has a corresponding error cod
## Skipping the address validation

Since version 3.19, Saleor may completely skip the address validation. To do so, the `AddressInput` must receive `skipValidation` flag set to `true`.
This will turn off whole validation, except `country` field - this one requires proper `CountryCode` enum. Please note, that to use `skipValidation` flag,
Saleor may demand some extra permissions. Also, not all mutations support this feature. For more info, please check specific mutation details.
This will turn off whole validation, except `country` field - this one requires proper `CountryCode` enum.

Please note, that to use `skipValidation` flag, Saleor may demand some extra permissions. Also, not all mutations support this feature.

- `checkoutCreate` - requires `HANDLE_CHECKOUT` and `AUTHENTICATED_APP` permissions.
- `accountAddressCreate`, `accountAddressUpdate` and `accountUpdate` do not support the feature.

:::warning
When providing invalid address, Saleor may be unable to complete some external requests.
Expand Down

0 comments on commit edbbc23

Please sign in to comment.