Skip to content

Commit 8ec3006

Browse files
committed
Squashed commit of the following:
commit b3f129ceb9feb2cb511a4c8e4b27917167d853c2 Author: Stefan Graupner <[email protected]> Date: Wed Aug 28 10:32:19 2024 +0200 fix: Repair changed faker calls commit 04e365b Author: Florian Salis <[email protected]> Date: Tue Jun 4 10:44:04 2024 +0200 fix: Revert wrong changes commit 957b6bf Author: Florian Salis <[email protected]> Date: Tue Jun 4 10:42:06 2024 +0200 fix: Revert wrong changes commit 8fb6b1b Author: Florian Salis <[email protected]> Date: Tue Jun 4 10:37:26 2024 +0200 chore: remove commented out code and console logs commit 287e7e1 Author: Florian Salis <[email protected]> Date: Tue Jun 4 10:36:05 2024 +0200 feat: Only use the Type-Name. No more upper-/lowercase transformation anywhere commit 5a3c7ac Author: Florian Salis <[email protected]> Date: Tue May 28 08:33:11 2024 +0200 fix: Correct data structure commit 0a8976d Author: Florian Salis <[email protected]> Date: Tue May 28 08:32:53 2024 +0200 fix: Use Type to access Store module in relationships commit 9e521dd Author: Florian Salis <[email protected]> Date: Thu May 23 08:42:11 2024 +0200 chore: Linting commit 9a4ae25 Author: Florian Salis <[email protected]> Date: Wed May 22 17:49:47 2024 +0200 test: Add/Adjust Tests commit 8551f5d Author: Florian Salis <[email protected]> Date: Wed May 22 17:49:31 2024 +0200 feat/fix: Disperse moduleName and Type for relationsships commit 39b8271 Author: Florian Salis <[email protected]> Date: Tue May 21 21:20:27 2024 +0200 feat: Allow Pascalcase Keys commit 6fabbb1 Author: Florian Salis <[email protected]> Date: Tue May 21 13:59:36 2024 +0200 feat/fix: Allow PascalCase Types
1 parent 4b16e60 commit 8ec3006

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/module/resource/getRelationship.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* @param {Vuex.Store} store
44
* @param {Object} relatedObject
55
* @param {Object} config{isToMany: boolean}
6+
* @param {Object} config{isToMany: boolean}
67
*/
78
export function getRelationship (store, relatedObject, config) {
89
return new Proxy(() => {}, {

test/apiMock.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function initApiMockServer () {
5151
type: 'book',
5252
id,
5353
attributes: {
54-
author: faker.name.findName(),
54+
author: faker.person.fullName(),
5555
title: faker.lorem.words(3)
5656
}
5757
}
@@ -62,7 +62,7 @@ export function initApiMockServer () {
6262
type: 'Category',
6363
id,
6464
attributes: {
65-
author: faker.name.findName(),
65+
author: faker.person.fullName(),
6666
title: faker.lorem.words(3)
6767
}
6868
}

0 commit comments

Comments
 (0)