You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users of the API should be able to query for a boolean field called isFirstYear on team members. The boolean should indicate if this is the person's first year as a member of a team.
queryIsFirstYear($year: Int!) {
team(year: $year) {
members {
isFirstYearperson {
name
}
}
}
}
Acceptance Tests
1. Boolean True for First-Years
If the person associated with a team member is not a member of any prior teams, the field should return true.
2. False for Existing Members
Say we have a person "Joe Smith" who is a member of the 2018 and 2019 teams. His team member record for the 2019 team should return false for isFirstYear.
The text was updated successfully, but these errors were encountered:
Users of the API should be able to query for a boolean field called
isFirstYear
on team members. The boolean should indicate if this is the person's first year as a member of a team.Acceptance Tests
1. Boolean True for First-Years
If the person associated with a team member is not a member of any prior teams, the field should return
true
.2. False for Existing Members
Say we have a person "Joe Smith" who is a member of the 2018 and 2019 teams. His team member record for the 2019 team should return
false
forisFirstYear
.The text was updated successfully, but these errors were encountered: