Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

double request when call eager loaded associations (owners, tasks, comments) #94

@drselump14

Description

@drselump14

In story resource, when we eager load association (owners, tasks, comments) and the association has empty value, then it'll try to fetch the information again. Is it an expected behavior?

def owners(params = {})
     if params.blank? && @owners.present?
        @owners
     else
        @owners = Endpoints::StoryOwners.new(client).get(project_id, id, params)
     end
 end

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions