Migrations
Audience Developer
This section contains migration guides for breaking changes in the Pyck GraphQL API. Each guide explains what changed, why it changed, and provides step-by-step instructions for updating your code.
Available migration guides
Section titled “Available migration guides”| Guide | Description |
|---|---|
| Relay Connections | All entity relationship fields now return Relay-style Connection objects |
| InventoryItem Data Field | The inventoryJSONData field has been removed in favor of the unified data field |
General migration tips
Section titled “General migration tips”- Always apply migrations to your development environment before production.
- When multiple breaking changes are introduced, migrate one change at a time.
- Before you update your queries, use GraphQL introspection to verify the new schema structure.
- Check that your GraphQL client libraries are compatible with the new schema.
- After you deploy migrated code, monitor your application for GraphQL errors.
Getting help
Section titled “Getting help”If you encounter issues during migration:
- Check the specific migration guide for troubleshooting tips
- Review the GraphQL Error Handling documentation
- Consult the GraphQL Getting Started guide for basics