Closed Mitesh0807 closed 6 months ago
Nice catch @Mitesh0807, yes you are right, this can be optimized. It would be really helpful if you address this issue and open a PR for the same.
Regards, FreeAPI team
@wajeshubham sure man!
@wajeshubham created pull request for this pls check ! 😊
PR: #125
Describe the enhancement
In order to pointout the getPublics method (book,cat,dog,meal,randomjoke,randomproduct,stock), we perform data filtering through search key processing. Upon discovering included keys in the query parameters, we proceed with the entire filterout process and eliminate the keys. Alternatively, we can obtain the paginated payload first, which can greatly enhance performance, and then remove the key.
Use Case
No response
Additional Information
suggested solution but there can be more cleaner solution just pointing out this we can process lot less data for removing keys
Suggested Tools
No response
Additional Context or Information
Hopefully i submitted issue right way if not please let me know and if provided info is right , i can work on this enhancement