Defines methods that collection resources can implement
If the resource is a courier model, extending from CourierCollectionResource removes some boilerplate.
If the resource is a courier model, extending from NestedCourierCollectionResource removes some boilerplate.
If the resource is a courier model, extending from NestedCourierCollectionResource removes some boilerplate.
Aside from automating some of the boilerplate away, it functions the same as a standard CollectionResource. If the resource is a top level resource, check out the CourierCollectionResource abstract class.
To configure customized fields, use the following snippet:
override implicit lazy val Fields = super.FIelds.withRelated(...)
The parent resource (for nesting purposes). If it is a top level, check out: CourierCollectionResource
The key type of the resource.
The "value" type of the resource.
Base Resource trait: mostly a marker trait wrapper methods for model serialization
The root resource for nesting purposes.
All collection resource that are not a sub-resource of any other resource should extend this.
All collection resource that are not a sub-resource of any other resource should extend this.
Nested resources should extend the standard CollectionResource trait, supplying the parent resource as the first type parameter.
If the resource is a courier model, extending from CourierCollectionResource removes some boilerplate.
If you have a nested resource, check out NestedCourierCollectionResource.
The key type of the resource.
The "value" type of the resource.