Closed (fixed)
Project:
Drupal.org username field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2019 at 08:25 UTC
Updated:
30 May 2020 at 22:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
yonas.legesse commentedI have created a service to be used to get data from Drupal.org, store in cache and read from cache.
Comment #3
yonas.legesse commentedCorrected return statement in previous patch.
Comment #4
yonas.legesse commentedUpon review, it's better to use a single function to save and get the information. This comes in very handy when using it for computed fields.
Comment #5
hussainweb@yonas.legesse, thanks for your work on the patch. I have a few comments and most of them should be a quick-fix.
Nit: Space after comma
There is extra whitespace here and no newline
Can we call this class something else? This is rather too long. I am thinking of something like `DOUserInfoRetriever`.
The comment is not accurate.
Comment #6
yonas.legesse commented@hussainweb, i've incorporated the comments. Kindly review.
Comment #7
hussainwebSome more comments
This comment still needs to be updated.
If we're only going to use `current()`, we should just cache that only.
Comment #9
hussainwebI made some improvements apart from other comments above and committed. Thanks for your work here!