Skip to content

Conversation

@DavidWiseman
Copy link
Collaborator

Only supply ObjectName parameter when applicable.

Only supply ObjectName parameter when applicable.
Copilot AI review requested due to automatic review settings December 6, 2025 14:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the logic for determining when to supply the ObjectName parameter in the Object Execution tab, ensuring it is only provided when the context type is a Query Store object type. This aligns with similar filtering already applied to the ObjectID parameter.

  • Replaced the database type check for ObjectID with a more precise IsQueryStoreObjectType() method
  • Added a new ObjectName property that conditionally returns the object name based on context type
  • Updated the parameter assignment to use the new ObjectName property instead of directly accessing CurrentContext.ObjectName

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DavidWiseman DavidWiseman merged commit 278ffca into trimble-oss:main Dec 6, 2025
@DavidWiseman DavidWiseman deleted the ObjectExecutionTabFix branch December 6, 2025 14:17
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