Skip to content

Commit

Permalink
fix(api-graphql): fix missing model enum in default selection sets (#…
Browse files Browse the repository at this point in the history
…12682)

* fix missing enum in default selection set

* prettier

* added missing tags field to model intro fixture
  • Loading branch information
svidgen committed Dec 6, 2023
1 parent 8d9b94c commit 0aed4ba
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/api-graphql/__tests__/APIClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ describe('flattenItems', () => {
const selSet = generateSelectionSet(modelIntroSchema.models, 'Todo');

const expected =
'id name description createdAt updatedAt todoMetaId owner';
'id name description status tags createdAt updatedAt todoMetaId owner';

expect(selSet).toEqual(expected);
});
Expand Down

0 comments on commit 0aed4ba

Please sign in to comment.