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
type Query {
professionals(companyId: String!): [Professional]
company(route: String!): Company
}
type Company {
name: String!
route: String
professionals: [Professional]
}
type Professional {
name: String!
avatar: String
company: Company
services: [Service]
}
type Service {
_id: String
name: String
price: String
duration: Int
categoryId: String!
}
Here is my typeDefs and resolvers
The problem is when querying
companies
, theservices
have the following resultHere is my query. Queries
professionals
works normallyThe text was updated successfully, but these errors were encountered: