Skip to main content

Module has_id

Module has_id 

Source
Expand description

HasId — universal “this resource has an identifier” trait.

Transport-agnostic. Lets helpers like created_under (in socle) compose a Location header from a route prefix + the resource’s id without coupling DTOs to HTTP paths.

Traits§

HasId