-
Notifications
You must be signed in to change notification settings - Fork 480
Description
Description
3.1 Update PageAPIGraphQLTypesProvider to include the new property
Add the styles property to the GraphQL schema
Connect it with the respective contentlet datasource
Implement or update the TypeFetcher accordingly
See SPIKE for implementation details and approach
3.2 Write tests
Unit tests for GraphQL type definitions
Integration tests for GraphQL queries returning style properties
Postman/Karate Tests
Test data fetching and mapping from contentlet to GraphQL response
Verify proper handling of null/empty style properties
3.3 Hide this functionality under the feature flag
Ensure the styles property is only exposed when ENABLE_PAGE_CONTENT_STYLING feature flag is enabled
Verify backward compatibility when flag is disabled
Test GraphQL schema behavior with flag on/off
Acceptance Criteria
- GraphQL schema includes the new styles property
- PageAPIGraphQLTypesProvider correctly maps style properties from contentlets
- All tests pass (unit and integration)
- Functionality is only active when ENABLE_PAGE_CONTENT_STYLING feature flag is enabled
- GraphQL queries return style properties correctly when feature is enabled
- No breaking changes to existing GraphQL queries when feature flag is disabled
Priority
None
Additional Context
No response
Metadata
Metadata
Assignees
Type
Projects
Status