GraphQL Schema and SDK Updates 2021-03-25
Author:
Fluent Commerce
Changed on:
22 Mar 2024
Target release date: | 2021-03-25 |
---|---|
Release status: | Released |
Description
GraphQL Schema Updates
Several new features have been added to the GraphQL Schema this month. The team has been working on enhancements to bulk actions to enable optimization of key processes within the Global Inventory and Store Fulfilment domains.
New `articlesByLocation`
- The query is added to the GraphQL schema.
`articlesByLocation`
- This query enables the retrieval of articles based on a location. It provides enhanced support for location-based scenarios such as arrivals, collections, and store-to-store transfers.
- The query supports the following parameters:
`fromLocation`
`toLocation`
`orderType`
`createdOn`
New `updateInventoryQuantitiesStatus`
- The mutation is added to the GraphQL schema.
`updateInventoryQuantitiesStatus`
- This mutation provides a more optimal way to bulk reset transient inventory quantities during a batch update. It updates the inventory quantities status for a specific inventory position filtered by inventory quantity types, statuses, and the date on which the inventory quantity is expected (date).
`expectedOn`
New `inventoryQuantityAggregate`
- The query is added to the GraphQL schema.
`inventoryQuantityAggregate`
- It provides a server-side sum calculation for a filtered list of inventory quantities, which can be used to prepare an on-hand quantity mutation update more optimally. It enables users to retrieve an aggregate inventory quantity for an inventory position filtered by inventory quantity types, statuses, and the date on which the inventory quantity is expected (date).
`expectedOn`
New `inventoryPositionAggregate query:`
- The query is added to the GraphQL schema.
`inventoryPositionAggregate`
- It provides a server-side sum calculation of the onHand field for a filtered list of inventory positions, which can be used to provide a network on-hand aggregate quantity more optimally. It enables users to retrieve an aggregate inventory position on hand quantity filtered by a network, product, inventory position types, and statuses.
New `waveItems`
- A new connection is added to the GraphQL schema for the
`waveItems`
and`waves`
queries.`waveById`
- This provides an aggregate quantity for a product within a wave. It enables a more efficient bulk order processing capability for the pick screens in ServicePoint.
SDK Updates
Minor updates have been made to the SDK for this release. The following updates have been made:
GraphQL Schema update:
- The file has been updated in the Plugin Archetype. Changes include all the new features listed above.
`schema.json`
GraphQL Apollo Client change:
- The GraphQL API Client dependency used within the SDK is now available on the Fluent maven repository. The JFrog Bintray repository owners provided notice of removal for the dependency.
- We recommend that users update their existing plugin files to avoid any dependency failure exceptions or slowness in resolving dependencies going forward.
`pom.xml`
The following repository configuration can be removed:
`<repository>`
` <id>bintray</id>`
` <url>https://dl.bintray.com/apollographql/android/</url>`
`</repository>`
For more information, see the SDK Release Notes.
Changelog
Details as listed above.
Released capability depth: | New capability, Enhancement |
---|---|
Release bundle / Capability type: | Platform, Tool |