Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Engagement module / Prep for EdgeDB #3283

Merged
merged 8 commits into from
Sep 4, 2024
Merged

Conversation

CarsonF
Copy link
Member

@CarsonF CarsonF commented Sep 3, 2024

Pulled all non-EdgeDB changes out of #3219
This will keep the other PR focused on only EdgeDB changes.

CarsonF and others added 8 commits September 3, 2024 11:07
…esent

It won't be used with EdgeDB

Co-authored-by: Bryan Nelson <[email protected]>
Move constraints & separate reads/writes into neo4j repo.
Make `secure` sync.
Remove unnecessary logs & try/catches & comments.

Co-authored-by: Bryan Nelson <[email protected]>
This is compatible with both current messages and new standardized EdgeDB messages

Co-authored-by: Bryan Nelson <[email protected]>
@CarsonF CarsonF requested a review from bryanjnelson September 3, 2024 17:32
Copy link

github-actions bot commented Sep 3, 2024

🗞 GraphQL Summary

View schema changes
@@ -1456,10 +1456,10 @@
 
   """The object's ID"""
   id: ID!
   initialEndDate: SecuredDateNullable!
-  lastReactivatedAt: SecuredDateTime!
-  lastSuspendedAt: SecuredDateTime!
+  lastReactivatedAt: SecuredDateTimeNullable!
+  lastSuspendedAt: SecuredDateTimeNullable!
   modifiedAt: DateTime!
   parent: Project!
   project: Project!
 
@@ -1469,9 +1469,9 @@
   startDateOverride: SecuredDateNullable!
   status: SecuredEngagementStatus!
 
   """The last time the engagement status was modified"""
-  statusModifiedAt: SecuredDateTime!
+  statusModifiedAt: SecuredDateTimeNullable!
 }
 
 input EngagementFilters {
   endDate: DateFilter
@@ -2165,10 +2165,10 @@
   """The object's ID"""
   id: ID!
   initialEndDate: SecuredDateNullable!
   intern: SecuredUser!
-  lastReactivatedAt: SecuredDateTime!
-  lastSuspendedAt: SecuredDateTime!
+  lastReactivatedAt: SecuredDateTimeNullable!
+  lastSuspendedAt: SecuredDateTimeNullable!
   mentor: SecuredUser!
   methodologies: SecuredMethodologies!
   modifiedAt: DateTime!
   parent: InternshipProject!
@@ -2181,9 +2181,9 @@
   startDateOverride: SecuredDateNullable!
   status: SecuredEngagementStatus!
 
   """The last time the engagement status was modified"""
-  statusModifiedAt: SecuredDateTime!
+  statusModifiedAt: SecuredDateTimeNullable!
 }
 
 enum InternshipPosition {
   Administration
@@ -2472,16 +2472,16 @@
   disbursementCompleteDate: SecuredDateNullable!
   endDate: SecuredDateNullable!
   endDateOverride: SecuredDateNullable!
   firstScripture: SecuredBoolean!
-  historicGoal: SecuredString!
+  historicGoal: SecuredStringNullable!
 
   """The object's ID"""
   id: ID!
   initialEndDate: SecuredDateNullable!
   language: SecuredLanguage!
-  lastReactivatedAt: SecuredDateTime!
-  lastSuspendedAt: SecuredDateTime!
+  lastReactivatedAt: SecuredDateTimeNullable!
+  lastSuspendedAt: SecuredDateTimeNullable!
 
   """The latest progress report that has a report submitted"""
   latestProgressReportSubmitted: SecuredPeriodicReport!
   lukePartnership: SecuredBoolean!
@@ -2491,9 +2491,9 @@
   The progress report due next. This is the period currently in progress.
   """
   nextProgressReportDue: SecuredProgressReport!
   openToInvestorVisit: SecuredBoolean!
-  paratextRegistryId: SecuredString!
+  paratextRegistryId: SecuredStringNullable!
   parent: TranslationProject!
 
   """
   A list of mediums used across all of the engagement's products and their
@@ -2515,9 +2515,9 @@
   startDateOverride: SecuredDateNullable!
   status: SecuredEngagementStatus!
 
   """The last time the engagement status was modified"""
-  statusModifiedAt: SecuredDateTime!
+  statusModifiedAt: SecuredDateTimeNullable!
 }
 
 type LanguageEngagementListOutput implements PaginatedList {
   """Whether the next page exists"""

🚨 Breaking Changes

  • Engagement.lastReactivatedAt changed type from SecuredDateTime! to SecuredDateTimeNullable!.
  • Engagement.lastSuspendedAt changed type from SecuredDateTime! to SecuredDateTimeNullable!.
  • Engagement.statusModifiedAt changed type from SecuredDateTime! to SecuredDateTimeNullable!.
  • InternshipEngagement.lastReactivatedAt changed type from SecuredDateTime! to SecuredDateTimeNullable!.
  • InternshipEngagement.lastSuspendedAt changed type from SecuredDateTime! to SecuredDateTimeNullable!.
  • InternshipEngagement.statusModifiedAt changed type from SecuredDateTime! to SecuredDateTimeNullable!.
  • LanguageEngagement.historicGoal changed type from SecuredString! to SecuredStringNullable!.
  • LanguageEngagement.lastReactivatedAt changed type from SecuredDateTime! to SecuredDateTimeNullable!.
  • LanguageEngagement.lastSuspendedAt changed type from SecuredDateTime! to SecuredDateTimeNullable!.
  • LanguageEngagement.paratextRegistryId changed type from SecuredString! to SecuredStringNullable!.
  • LanguageEngagement.statusModifiedAt changed type from SecuredDateTime! to SecuredDateTimeNullable!.

Copy link
Contributor

@bryanjnelson bryanjnelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@CarsonF CarsonF merged commit c54e329 into develop Sep 4, 2024
18 of 19 checks passed
@CarsonF CarsonF deleted the engagement-refactor branch September 4, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants