Skip to content

Objects with lazy loaded fields trigger additional queries when db_cache is enabled #183

Open

Description

@opengeek

As described by @davidpede in #152, when an object is loaded with lazy-loaded fields, additional queries are fired automatically to load the lazy fields if the db_cache is enabled. This implies that the signature for storing cached entries is insufficient to cache objects loaded this way. Two possible solutions come to mind. We would either need to include the selected (or unselected) columns in the cache signature, or we need to prevent caching of objects that have fields that were not selected.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions