Conversation
…hema references - Removed the User type in favor of AuthenticatedUser across multiple schemas. - Updated GraphQL queries and mutations to reflect the new type. - Adjusted resolver implementations to return AuthenticatedUser instead of User. - Introduced AnonymousUser type for handling unauthenticated users. - Ensured backward compatibility by updating union types and references in generated files.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
View your CI Pipeline Execution ↗ for commit 69c8b20
☁️ Nx Cloud last updated this comment at |
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
…d schema references - Introduced AnonymousUser type to handle unauthenticated users across multiple schemas. - Updated User type to be a union of AuthenticatedUser and AnonymousUser. - Adjusted resolver implementations and references in user-related schemas to accommodate the new structure. - Ensured compatibility with existing queries and mutations by updating relevant types.
… are processed - Modified various components to check for AuthenticatedUser type before accessing user properties. - Updated user-related logic in JourneyVisitorsPage, AccessDialog, and Team components to enhance type safety. - Ensured consistent handling of user data across the application by filtering out non-authenticated users.
- Changed instances of User type to AuthenticatedUser in JourneyAppearance, JourneyCardMenu, TeamOnboarding, UserTeamInviteForm, and useUserTeamsAndInvitesLazyQuery tests. - Ensured consistency in user type handling across multiple test files.
…d schema references - Changed the User type in UserTeam to reference the new User union, which includes both AuthenticatedUser and AnonymousUser. - Introduced AnonymousUser type in multiple schemas to handle unauthenticated users. - Updated generated TypeScript files to reflect the changes in the GraphQL schema. - Ensured consistency across the application by updating user-related logic to accommodate the new structure.
…t components - Updated user type checks in AccessDialog and Host components to use optional chaining for safer access to user properties. - Ensured consistent handling of AuthenticatedUser type across components to prevent potential runtime errors.
No description provided.