Files
twenty/packages/twenty-server/test/integration/graphql/suites/query-complexity/constants/twoNestedOneToManyQueryGqlFields.constant.ts
T
EtienneandGitHub d1befa7e35 Query complexity validation (#16274)
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)
2025-12-04 16:33:08 +01:00

26 lines
501 B
TypeScript

export const TWO_NESTED_ONE_TO_MANY_QUERY_GQL_FIELDS = `
id
pointOfContactForOpportunities {
edges {
node {
company {
people {
edges {
node {
id
pointOfContactForOpportunities {
edges {
node {
id
}
}
}
}
}
}
}
}
}
}
`;