Skip to content

[FEATURE] Cleanup PreferTargetInfo option #2994

@BernieWhite

Description

@BernieWhite

Your suggestion

The option PreferTargetInfo was added in v1 to support better resolution of built-in objects with name and type binding instead of relying on generic binding options. It was added as disabled by default to prevent a breaking change.

Since when this was added a number of improvements have been added so this should now be not configurable and implicit.

New behaviour will be:

  • Objects that support target info will implement a public interface ITargetInfo.
  • Objects that will revert to binding configuration will not implement the interface.

Properties of the interface will be nullable, null values will revert to the binding configuration.

Alternatives

na

Additional context

Metadata

Metadata

Assignees

Labels

.NETPull requests that update .net codefeature: coreIssues that affect the core engine

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions