Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
ENGCOM-4811: Cannot return null for non-nullable field AvailableShipp…
Browse files Browse the repository at this point in the history
…ingMethod.method_code when no shipping methods are available #526
  • Loading branch information
naydav authored Apr 24, 2019
2 parents 645941c + 5178dba commit 83fea18
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/code/Magento/QuoteGraphQl/etc/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,14 @@ type SelectedShippingMethod {
type AvailableShippingMethod {
carrier_code: String!
carrier_title: String!
method_code: String!
method_title: String!
method_code: String @doc(description: "Could be null if method is not available")
method_title: String @doc(description: "Could be null if method is not available")
error_message: String
amount: Float!
base_amount: Float!
base_amount: Float @doc(description: "Could be null if method is not available")
price_excl_tax: Float!
price_incl_tax: Float!
available: Boolean!
}

type AvailablePaymentMethod {
Expand Down

0 comments on commit 83fea18

Please sign in to comment.