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

Drop deprecated ceremony / project member GQL queries #3304

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

CarsonF
Copy link
Member

@CarsonF CarsonF commented Oct 8, 2024

Copy link

github-actions bot commented Oct 8, 2024

🗞 GraphQL Summary

View schema changes
@@ -132,43 +132,8 @@
   sensitivity: Sensitivity!
   type: CeremonyType!
 }
 
-input CeremonyFilters {
-  """Only ceremonies of this type"""
-  type: CeremonyType
-}
-
-input CeremonyListInput {
-  """The number of items to return in a single page"""
-  count: Int! = 25
-  filter: CeremonyFilters
-
-  """The order in which to sort the list"""
-  order: Order! = ASC
-
-  """1-indexed page number for offset pagination."""
-  page: Int = 1
-
-  """The field in which to sort on"""
-  sort: String = "projectName"
-}
-
-type CeremonyListOutput implements PaginatedList {
-  """Whether the next page exists"""
-  hasMore: Boolean!
-
-  """
-  The page of ceremony.
-  Note that this could include items that where also in sibling pages;
-  you should de-duplicate these based on ID.
-  """
-  items: [Ceremony!]!
-
-  """The total number of items across all pages"""
-  total: Int!
-}
-
 enum CeremonyType {
   Certification
   Dedication
 }
@@ -4849,23 +4814,8 @@
   """The field in which to sort on"""
   sort: String = "createdAt"
 }
 
-type ProjectMemberListOutput implements PaginatedList {
-  """Whether the next page exists"""
-  hasMore: Boolean!
-
-  """
-  The page of project member.
-  Note that this could include items that where also in sibling pages;
-  you should de-duplicate these based on ID.
-  """
-  items: [ProjectMember!]!
-
-  """The total number of items across all pages"""
-  total: Int!
-}
-
 """A alias for a group of project steps"""
 enum ProjectStatus {
   """@order 1"""
   Active
@@ -5099,14 +5049,8 @@
 
 type Query {
   """Returns a list of available steps for the given constraints."""
   availableProductSteps(methodology: ProductMethodology, type: ProducibleType): [ProductStep!]!
-
-  """Look up ceremonies"""
-  ceremonies(input: CeremonyListInput = {count: 25, order: ASC, page: 1, sort: "projectName"}): CeremonyListOutput! @deprecated(reason: "Query via engagement instead")
-
-  """Look up a ceremony by its ID"""
-  ceremony(id: ID!): Ceremony! @deprecated(reason: "Query via engagement instead")
   changeset(id: ID!): Changeset!
 
   """Checks whether a provided email already exists"""
   checkEmail(email: String!): Boolean!
@@ -5237,14 +5181,8 @@
   progressReports(input: ProgressReportListInput = {count: 25, order: ASC, page: 1, sort: "start"}): ProgressReportList!
 
   """Look up a project by its ID"""
   project(changeset: ID, id: ID!): Project!
-
-  """Look up a project member by ID"""
-  projectMember(id: ID!): ProjectMember! @deprecated(reason: "Query via project instead")
-
-  """Look up project members"""
-  projectMembers(input: ProjectMemberListInput = {count: 25, order: ASC, page: 1, sort: "createdAt"}): ProjectMemberListOutput! @deprecated(reason: "Query via project instead")
   projectTypeFinancialApprovers(projectTypes: [ProjectType!]): [ProjectTypeFinancialApprover!]!
   projectWorkflow: Workflow!
 
   """Look up projects"""

🚨 Breaking Changes

  • CeremonyFilters was removed.
  • CeremonyListInput was removed.
  • CeremonyListOutput was removed.
  • ProjectMemberListOutput was removed.
  • Query.ceremonies was removed.
  • Query.ceremony was removed.
  • Query.projectMember was removed.
  • Query.projectMembers was removed.

@CarsonF CarsonF force-pushed the drop-deprecations branch 3 times, most recently from 3cc3b15 to 65b1cdd Compare October 8, 2024 14:18
@CarsonF CarsonF force-pushed the drop-deprecations branch from 65b1cdd to ebf13c2 Compare October 9, 2024 18:09
@CarsonF CarsonF merged commit 6dbe9f9 into develop Oct 9, 2024
15 checks passed
@CarsonF CarsonF deleted the drop-deprecations branch October 9, 2024 18:37
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.

1 participant