Draft
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.
Contributor
|
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 |
Contributor
|
View your CI Pipeline Execution ↗ for commit cdeaf6e
☁️ Nx Cloud last updated this comment at |
Contributor
|
The latest updates on your projects.
|
Contributor
|
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.