Example of setting a has_one relationship
I would appreciate an example of setting up a has_one relationship.
I have the following resources:
Each resource has an attribute
I want to establish a 1:1 relationship between the two resources.
So, I add the following to
I get the following errors/warnings:
Do I need to define an attribute
Or am I on the wrong path?
I have the following resources:
Each resource has an attribute
uuid_primary_key :id.I want to establish a 1:1 relationship between the two resources.
So, I add the following to
App.Api.Item:I get the following errors/warnings:
Do I need to define an attribute
:item_id in resource App.Api.Variant? If so, what type would it be?Or am I on the wrong path?
