BE: Remove the deprecated itemType field from GraphQL schema
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Overview
Remove the deprecated itemType field from the GraphQL schema for AI Catalog items.
Background
As discussed in MR !212078 (merged), the frontend has been standardized to use itemTypes (plural) instead of itemType (singular) across all GraphQL queries. The backend can now deprecate and remove the singular itemType field.
Changes Required
- Mark
itemTypefield as deprecated in the GraphQL schema - Remove
itemTypefield from the GraphQL schema (or keep as deprecated based on backwards compatibility requirements) - Verify no remaining backend usage of the singular field
Related Issues
- MR: !212078 (merged) - Standardize itemTypes in queries
- Related discussion: !212078 (comment 2878484042)
Acceptance Criteria
-
itemTypefield is removed or deprecated from GraphQL schema -
All backend code updated to use itemTypes(plural) only -
No breaking changes for existing API consumers (if deprecation is preferred) -
Tests updated to reflect changes
Edited by 🤖 GitLab Bot 🤖