Skip to content

Lazy loading and caching for API objects #19

Open

Description

@andrew

Domain objects like PRs and issues shouldn't fetch all their details upfront. Defer API calls until a field is actually accessed, then cache the result.

For objects that may become stale, consider a dirty-flag approach so callers can mark an object for re-fetch on next access.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions