@graphcommerce/magento-graphql 9.1.0-canary.18 → 9.1.0-canary.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +5 -5
- package/schema-247/CustomAttributesV2.graphqls +1 -1
- package/schema-247/CustomerOrder.graphqls +3 -0
- package/schema-247/Mutation-estimateTotals.graphqls +1 -1
- package/schema-247/Mutation-placeOrder.graphqls +1 -1
- package/schema-247/Query-attributesList.graphqls +2 -2
- package/schema-247/Query-customAttributeMetadataV2.graphqls +1 -1
- package/schema-247/Query-guestOrder.graphqls +1 -1
- package/schema-247/Query-guestOrderByToken.graphqls +1 -1
- package/schema-247/StoreConfig.graphqls +3 -0
- package/typePolicies.ts +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.1.0-canary.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`2794efe`](https://github.com/graphcommerce-org/graphcommerce/commit/2794efe3251934b9621371b94481eee11b4fb40c) - Magento <= 2.4.6: Solve issue where GraphCommerce's schema compatibility layer would define fields to be always return a value while they would never causing runtime errors which are hard to catch. ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
3
9
|
## 9.1.0-canary.18
|
|
4
10
|
|
|
5
11
|
## 9.1.0-canary.17
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-graphql",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.1.0-canary.
|
|
5
|
+
"version": "9.1.0-canary.19",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.1.0-canary.
|
|
17
|
-
"@graphcommerce/graphql": "^9.1.0-canary.
|
|
18
|
-
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.
|
|
19
|
-
"@graphcommerce/typescript-config-pwa": "^9.1.0-canary.
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.1.0-canary.19",
|
|
17
|
+
"@graphcommerce/graphql": "^9.1.0-canary.19",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^9.1.0-canary.19",
|
|
19
|
+
"@graphcommerce/typescript-config-pwa": "^9.1.0-canary.19",
|
|
20
20
|
"graphql": "^16.0.0",
|
|
21
21
|
"next": "*",
|
|
22
22
|
"react": "^18.2.0",
|
|
@@ -51,7 +51,7 @@ type CustomerAddress {
|
|
|
51
51
|
"""
|
|
52
52
|
Custom attributes assigned to the customer address.
|
|
53
53
|
"""
|
|
54
|
-
custom_attributesV2(attributeCodes: [ID!]): [AttributeValueInterface]
|
|
54
|
+
custom_attributesV2(attributeCodes: [ID!]): [AttributeValueInterface]
|
|
55
55
|
@deprecated(reason: "Magento >= 2.4.7")
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -7,7 +7,7 @@ type Query {
|
|
|
7
7
|
Form code.
|
|
8
8
|
"""
|
|
9
9
|
formCode: String!
|
|
10
|
-
): AttributesFormOutput
|
|
10
|
+
): AttributesFormOutput @deprecated(reason: "Magento >= 2.4.7")
|
|
11
11
|
"""
|
|
12
12
|
Returns a list of attributes metadata for a given entity type.
|
|
13
13
|
"""
|
|
@@ -20,7 +20,7 @@ type Query {
|
|
|
20
20
|
Identifies which filter inputs to search for and return.
|
|
21
21
|
"""
|
|
22
22
|
filters: AttributeFilterInput
|
|
23
|
-
): AttributesMetadataOutput
|
|
23
|
+
): AttributesMetadataOutput @deprecated(reason: "Magento >= 2.4.7")
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
"""
|
|
@@ -2,6 +2,6 @@ type Query {
|
|
|
2
2
|
"""
|
|
3
3
|
Retrieve EAV attributes metadata.
|
|
4
4
|
"""
|
|
5
|
-
customAttributeMetadataV2(attributes: [AttributeInput!]): AttributesMetadataOutput
|
|
5
|
+
customAttributeMetadataV2(attributes: [AttributeInput!]): AttributesMetadataOutput
|
|
6
6
|
@deprecated(reason: "Magento >= 2.4.7")
|
|
7
7
|
}
|
|
@@ -27,5 +27,5 @@ type Query {
|
|
|
27
27
|
"""
|
|
28
28
|
Retrieve guest order details based on number, email and postcode.
|
|
29
29
|
"""
|
|
30
|
-
guestOrder(input: OrderInformationInput!): CustomerOrder
|
|
30
|
+
guestOrder(input: OrderInformationInput!): CustomerOrder @deprecated(reason: "Magento >= 2.4.7")
|
|
31
31
|
}
|
|
@@ -26,5 +26,5 @@ type Query {
|
|
|
26
26
|
"""
|
|
27
27
|
Retrieve guest order details based on token.
|
|
28
28
|
"""
|
|
29
|
-
guestOrderByToken(input: OrderTokenInput!): CustomerOrder
|
|
29
|
+
guestOrderByToken(input: OrderTokenInput!): CustomerOrder @deprecated(reason: "Magento >= 2.4.7")
|
|
30
30
|
}
|
package/typePolicies.ts
CHANGED
|
@@ -82,7 +82,12 @@ export const magentoTypePolicies: TypedTypePolicies = {
|
|
|
82
82
|
// CreditMemoTotal: { keyFields: false },
|
|
83
83
|
// Currency: { keyFields: [] },
|
|
84
84
|
// CustomAttributeMetadata: { keyFields: [] },
|
|
85
|
-
Customer: {
|
|
85
|
+
Customer: {
|
|
86
|
+
keyFields: [],
|
|
87
|
+
fields: {
|
|
88
|
+
custom_attributes: { merge: (_, incoming) => incoming },
|
|
89
|
+
},
|
|
90
|
+
},
|
|
86
91
|
// CustomerAddress: { keyFields: ['id'] },
|
|
87
92
|
// CustomerAddressAttribute: { keyFields: false },
|
|
88
93
|
// CustomerAddressRegion: { keyFields: false },
|