Skip to content

GH Issue 1512: user defined queries causes performance issues with lookup field query listing - #8119

Open
XingY wants to merge 2 commits into
developfrom
fb_issue1512
Open

XingY wants to merge 2 commits into
developfrom
fb_issue1512

Conversation

@XingY

@XingY XingY commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Rationale

Related Pull Requests

Changes

  • Add an includeUserQueriesForLookups parameter to the getQueries API: when includeUserQueries is false, restrict the returned user-defined queries to those that expose a primary key.
  • Treat a query as a lookup target only when it has a real primary key — ignore synthetic/auto-added key columns, and exclude queries that fail to resolve.
  • Cache each user query's has-primary-key result, keyed on the query's last-modified stamp, so repeat enumerations skip re-resolving queries already known to lack a key.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant