diff --git a/packages/plugins/tanstack-query/tests/react-hooks-v5.test.tsx b/packages/plugins/tanstack-query/tests/react-hooks-v5.test.tsx index 7739e67e3..3559f4528 100644 --- a/packages/plugins/tanstack-query/tests/react-hooks-v5.test.tsx +++ b/packages/plugins/tanstack-query/tests/react-hooks-v5.test.tsx @@ -387,7 +387,7 @@ describe('Tanstack Query React Hooks V5 Test', () => { expect(userResult.current.data).toHaveLength(1); }); - // pupulate the cache with a category + // populate the cache with a category const categoryData: any[] = [{ id: '1', name: 'category1', posts: [] }]; nock(BASE_URL) @@ -501,7 +501,7 @@ describe('Tanstack Query React Hooks V5 Test', () => { it('optimistic update with optional one-to-many relationship', async () => { const { queryClient, wrapper } = createWrapper(); - // populate the cache with a post, with an optional category relatonship + // populate the cache with a post, with an optional category relationship const postData: any = { id: '1', title: 'post1', diff --git a/packages/plugins/tanstack-query/tests/test-model-meta.ts b/packages/plugins/tanstack-query/tests/test-model-meta.ts index 1c59b956b..6e08ce2ca 100644 --- a/packages/plugins/tanstack-query/tests/test-model-meta.ts +++ b/packages/plugins/tanstack-query/tests/test-model-meta.ts @@ -59,7 +59,6 @@ export const modelMeta: ModelMeta = { type: 'Category', name: 'category', isDataModel: true, - isOptional: true, isRelationOwner: true, backLink: 'posts', foreignKeyMapping: { id: 'categoryId' },