Refactor staff data models to use List<String> for skills and industries
- Updated GetStaffByIdStaff, GetStaffByUserIdStaffs, ListStaffStaffs, and UpdateStaffVariablesBuilder classes to replace AnyValue with List<String> for skills and industries. - Modified JSON serialization and deserialization logic accordingly. - Adjusted ExperienceRepositoryImpl to handle List<String> for industries and skills. - Updated GraphQL mutations and schema to reflect changes in data types for skills and industries.
This commit is contained in:
@@ -15,8 +15,8 @@ mutation CreateStaff(
|
||||
$reliabilityScore: Int
|
||||
|
||||
$bio: String
|
||||
$skills: Any
|
||||
$industries: Any
|
||||
$skills: [String!]
|
||||
$industries: [String!]
|
||||
$preferredLocations: [String!]
|
||||
$maxDistanceMiles: Int
|
||||
$languages: Any
|
||||
@@ -106,8 +106,8 @@ mutation UpdateStaff(
|
||||
$reliabilityScore: Int
|
||||
|
||||
$bio: String
|
||||
$skills: Any
|
||||
$industries: Any
|
||||
$skills: [String!]
|
||||
$industries: [String!]
|
||||
$preferredLocations: [String!]
|
||||
$maxDistanceMiles: Int
|
||||
$languages: Any
|
||||
|
||||
Reference in New Issue
Block a user