Skip to content

[RFR] Remove duplicate API call in ReferenceArrayInput - #3252

Merged
fzaninotto merged 6 commits into
marmelab:masterfrom
fargito:remove-duplicate-api-call
Jun 5, 2019
Merged

fzaninotto merged 6 commits into
marmelab:masterfrom
fargito:remove-duplicate-api-call

Conversation

@fargito

@fargito fargito commented May 20, 2019 •

Copy link
Copy Markdown
Contributor

Fixes #3108

@fargito fargito changed the title remove duplicate API call in ReferenceArrayInput #3108 Remove duplicate API call in ReferenceArrayInput May 20, 2019
Comment thread packages/ra-core/src/controller/input/ReferenceArrayInputController.tsx Outdated
@fargito
fargito force-pushed the remove-duplicate-api-call branch from 209ac6a to 842fa19 Compare May 21, 2019 07:53
@fargito fargito changed the title #3108 Remove duplicate API call in ReferenceArrayInput [RFR] #3108 Remove duplicate API call in ReferenceArrayInput May 21, 2019
Comment thread packages/ra-core/src/controller/input/ReferenceArrayInputController.tsx Outdated

@djhi djhi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add some tests for this?

@fargito
fargito force-pushed the remove-duplicate-api-call branch from 842fa19 to 0dea6c4 Compare May 22, 2019 07:42
@fargito

fargito commented May 23, 2019

Copy link
Copy Markdown
Contributor Author

@djhi is it ok for you ? :)

@djhi

djhi commented May 23, 2019

Copy link
Copy Markdown
Contributor

Looks good but I won't have time to test it before next week. I'm at react europe

@fzaninotto fzaninotto changed the title [RFR] #3108 Remove duplicate API call in ReferenceArrayInput [RFR] Remove duplicate API call in ReferenceArrayInput May 23, 2019
Comment thread packages/ra-core/src/controller/input/ReferenceArrayInputController.tsx Outdated
Comment thread packages/ra-core/src/controller/input/ReferenceArrayInputController.spec.tsx Outdated
Comment thread packages/ra-core/src/controller/input/ReferenceArrayInputController.tsx Outdated
@fargito
fargito force-pushed the remove-duplicate-api-call branch from b320769 to 9415b04 Compare May 24, 2019 08:32
@djhi
djhi requested a review from fzaninotto June 5, 2019 09:20
@fzaninotto
fzaninotto merged commit e619159 into marmelab:master Jun 5, 2019
@fzaninotto

Copy link
Copy Markdown
Member

Thanks!

@fzaninotto fzaninotto added this to the v2.9.3 milestone Jun 5, 2019
@fargito
fargito deleted the remove-duplicate-api-call branch June 5, 2019 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Performance]Too many request to API endpoint when using ReferenceInput and ReferenceArrayInput

5 participants