Closed
Description
On 1.0.0-dev (826c9d4), when a primary_key
is overridden for a certain API, this isn't respected by the response from a related API in the links
section. e.g.:
create_api(model.Tenant, primary_key='_uuid')
"tenant_user_maps": {
"data": [],
"links": {
"related": "http://localhost:8888/api/v1/tenants/2/tenant_user_maps",
"self": "http://localhost:8888/api/v1/tenants/2/relationships/tenant_user_maps"
}
},
The /tenants/2/
in the links should really look something like /tenants/uuid-string-here-etc/