Skip to content

Commit a747d95

Browse files
authored
refactor: correct minor mistakes picked up by coderabbitai in nitpick comments (#1887)
Co-authored-by: Simon Zimmerman <[email protected]>
1 parent 39f13e7 commit a747d95

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/plugins/tanstack-query/tests/react-hooks-v5.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ describe('Tanstack Query React Hooks V5 Test', () => {
387387
expect(userResult.current.data).toHaveLength(1);
388388
});
389389

390-
// pupulate the cache with a category
390+
// populate the cache with a category
391391
const categoryData: any[] = [{ id: '1', name: 'category1', posts: [] }];
392392

393393
nock(BASE_URL)
@@ -501,7 +501,7 @@ describe('Tanstack Query React Hooks V5 Test', () => {
501501
it('optimistic update with optional one-to-many relationship', async () => {
502502
const { queryClient, wrapper } = createWrapper();
503503

504-
// populate the cache with a post, with an optional category relatonship
504+
// populate the cache with a post, with an optional category relationship
505505
const postData: any = {
506506
id: '1',
507507
title: 'post1',

packages/plugins/tanstack-query/tests/test-model-meta.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export const modelMeta: ModelMeta = {
5959
type: 'Category',
6060
name: 'category',
6161
isDataModel: true,
62-
isOptional: true,
6362
isRelationOwner: true,
6463
backLink: 'posts',
6564
foreignKeyMapping: { id: 'categoryId' },

0 commit comments

Comments
 (0)