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

Fix shelter filter names (DEV-1078) #797

Merged
merged 2 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/betterangels-backend/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1252,12 +1252,12 @@
name: ShelterProgramChoices
}

input ShelterPropertyInput {

Check failure on line 1255 in apps/betterangels-backend/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Input field 'shelterType' was removed from input object type 'ShelterPropertyInput'

Removing an input field will cause existing queries that use this input field to error.

Check failure on line 1255 in apps/betterangels-backend/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Input field 'roomStyle' was removed from input object type 'ShelterPropertyInput'

Removing an input field will cause existing queries that use this input field to error.
pets: [PetChoices!] = null
demographics: [DemographicChoices!] = null
specialSituationRestrictions: [SpecialSituationRestrictionChoices!] = null
shelterType: [ShelterChoices!] = null
roomStyle: [RoomStyleChoices!] = null
shelterTypes: [ShelterChoices!] = null

Check warning on line 1259 in apps/betterangels-backend/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Input field 'shelterTypes' was added to input object type 'ShelterPropertyInput'

Input field 'shelterTypes' was added to input object type 'ShelterPropertyInput'
roomStyles: [RoomStyleChoices!] = null

Check warning on line 1260 in apps/betterangels-backend/schema.graphql

View workflow job for this annotation

GitHub Actions / GraphQL Inspector

Input field 'roomStyles' was added to input object type 'ShelterPropertyInput'

Input field 'roomStyles' was added to input object type 'ShelterPropertyInput'
parking: [ParkingChoices!] = null
}

Expand Down
4 changes: 2 additions & 2 deletions apps/betterangels-backend/shelters/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ class ShelterPropertyInput:
pets: Optional[List[PetChoices]] = None
demographics: Optional[List[DemographicChoices]] = None
special_situation_restrictions: Optional[List[SpecialSituationRestrictionChoices]] = None
shelter_type: Optional[List[ShelterTypeChoices]] = None
room_style: Optional[List[RoomStyleChoices]] = None
shelter_types: Optional[List[ShelterTypeChoices]] = None
room_styles: Optional[List[RoomStyleChoices]] = None
parking: Optional[List[ParkingChoices]] = None


Expand Down
Loading