File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ class LibraryResource < JSONAPI::Resource
11
11
12
12
has_one :request , always_include_optional_linkage_data : true
13
13
# If we don't specify the relation_name here, jsonapi-resources
14
- # attempts to use_related_resource_records_for_joins
15
- # In this case I can see it using container_associations
16
- # so seems to be linking the wrong tube relationship.
14
+ # attempts to apply the filters present on `V1::Pacbio::TubeResource`
15
+ # as defined by `V1::Pacbio::TubeResource#records`. This filters out
16
+ # all our lovely tubes
17
17
has_one :tube , relation_name : :tube
18
18
has_one :tag , always_include_optional_linkage_data : true
19
19
has_one :pool , always_include_optional_linkage_data : true
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ class PoolResource < JSONAPI::Resource
7
7
model_name 'Pacbio::Pool'
8
8
9
9
# If we don't specify the relation_name here, jsonapi-resources
10
- # attempts to use_related_resource_records_for_joins
11
- # In this case I can see it using container_associations
12
- # so seems to be linking the wrong tube relationship.
10
+ # attempts to apply the filters present on `V1::Pacbio::TubeResource`
11
+ # as defined by `V1::Pacbio::TubeResource#records`. This filters out
12
+ # all our lovely tubes
13
13
has_one :tube , relation_name : :tube
14
14
has_many :libraries
15
15
You can’t perform that action at this time.
0 commit comments