-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Let's say I have a GraphQL schema like below:
type ProductCategory {
parent_category: ProductCategory
}And this generates mock function like below:
export function createProductCategoryMock(props: Partial<ProductCategory> = {}): ProductCategory {
return {
parent_category: createProductCategoryMock({}),
...props,
}
}And this cause Maximum call stack size exceeded error. Do I just need to change the parent type different name? Any thoughts? Thanks.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation