-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NOREF] cedar system dataloader #2577
Conversation
logger := appcontext.ZLogger(ctx) | ||
cedarSystems, err := loaders.GetCedarSystems(ctx) | ||
if err != nil { | ||
logger.Error("error getting cedar systems in data loader", zap.Error(err)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should return a slice of dataloader.Result
with every err
populated with err
- i believe dataloaders always need to return a slice with len
of requested keys
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oooooh, ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in 1c15a9f
Marking as draft since we'll need to make the same TRB changes for System Intakes! |
NOREF
Changes and Description
How to test this change
Load the TRB admin homepage. It should be faster!
PR Author Review Checklist
PR Reviewer Guidelines