Skip to content

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

 - Merge Pull Request magento/graphql-ce#526 from XxXgeoXxX/graphql-ce:2.3-develop#524
 - Merged commits:
   1. b78aa2a
   2. 3b48e1d
   3. cf46fef
  • Loading branch information
magento-engcom-team committed Apr 23, 2019
2 parents 18dc53f + cf46fef commit 5178dba
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 5178dba

Please sign in to comment.