Skip to content

Commit

Permalink
Merge pull request #6006 from GCTC-NTGC/bug_6005_scope-profile-query-…
Browse files Browse the repository at this point in the history
…applications

[Bug] Fix applicant pool candidates query
  • Loading branch information
esizer authored and tristan-orourke committed Mar 20, 2023
1 parent d206924 commit 7391261
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,10 @@ type Applicant {
@rename(attribute: "indigenous_declaration_signature")

# Applicant info
jobLookingStatus: JobLookingStatus @rename(attribute: "job_looking_status")
poolCandidates: [PoolCandidate] @hasMany @can(ability: "view", resolved: true)
jobLookingStatus: JobLookingStatus
@rename(attribute: "job_looking_status")
@deprecated(reason: "Removing with applicantDashboard feature flag")
poolCandidates: [PoolCandidate] @hasMany(scopes: ["notDraft"]) @can(ability: "view", resolved: true)

hasDiploma: Boolean @rename(attribute: "has_diploma")
locationPreferences: [WorkRegion] @rename(attribute: "location_preferences")
Expand Down

0 comments on commit 7391261

Please sign in to comment.