Validations : - relations count (in common api) - oneToMany relation nested count (in common) - requested fields count (in gql) - root resolver count (in gql) - root resolver duplicates (in gql) - specific complexity for metadata / nesting count (in gql)
95 lines
1.3 KiB
TypeScript
95 lines
1.3 KiB
TypeScript
export const TOO_MANY_RELATION_QUERY_GQL_FIELDS = `
|
|
id
|
|
city
|
|
jobTitle
|
|
avatarUrl
|
|
intro
|
|
searchVector
|
|
pointOfContactForOpportunities {
|
|
edges {
|
|
node {
|
|
id
|
|
company {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
favorites {
|
|
edges {
|
|
node {
|
|
id
|
|
company {
|
|
id
|
|
}
|
|
person {
|
|
id
|
|
company {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
noteTargets {
|
|
edges {
|
|
node {
|
|
id
|
|
company {
|
|
id
|
|
}
|
|
note {
|
|
id
|
|
}
|
|
person {
|
|
id
|
|
company {
|
|
id
|
|
}
|
|
}
|
|
company {
|
|
id
|
|
}
|
|
opportunity {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
taskTargets {
|
|
edges {
|
|
node {
|
|
id
|
|
company {
|
|
id
|
|
}
|
|
person {
|
|
id
|
|
company {
|
|
id
|
|
}
|
|
}
|
|
company {
|
|
id
|
|
}
|
|
opportunity {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
company {
|
|
id
|
|
people {
|
|
edges {
|
|
node {
|
|
id
|
|
company {
|
|
id
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|