-
Notifications
You must be signed in to change notification settings - Fork 1
UpdateGuide
Mihael Safaric edited this page Sep 27, 2024
·
1 revision
- Datastore service is now a generic class that accepts a required Pagination type -
class DatastoreService<P extends Pagination>
- Consequently,
HalModel
andHalDocument
generic classes now accept an additional Pagination type parameter -class HalModel<P extends Pagination, Datastore extends DatastoreService<P> = DatastoreService<P>>
andHalDocument<T extends HalModel<P>, P extends Pagination>
- Most of the other constructs (like decorators) are now generics and require the same Pagination type as the Datastore service
- The usage can be checked out in the Getting started guide, more specifically in the Recommendation section.