Skip to content

Commit 7570a74

Browse files
committed
Fix Schemas not being passed through to Model.store
1 parent fe6871d commit 7570a74

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Fix Schemas not being passed through to `Model.store`
13+
1014
## [0.2.0-beta.7] - 2024-12-07
1115

1216
### Fixed

src/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export type Model<
124124
Schema extends JsonApiResource = JsonApiResource,
125125
Schemas extends SchemaCollection = SchemaCollection,
126126
> = JsonApiResource<Schema['type']> &
127-
ModelBase<Schema> &
127+
ModelBase<Schema, Schemas> &
128128
ProxiedModel<Schema, Schemas>;
129129

130130
export const Model: new <

0 commit comments

Comments
 (0)