Skip to content

Add Diagnostic to ensure that only SelectBase derivations are used in PXProjections / ensure that PXSelectBase derivations aren't used #483

@ShadowFiendZX

Description

@ShadowFiendZX

One mistake I've seen in many code reviews is that some of my coworkers will use PXSelectGroupBy, etc in their PXProjections instead of the proper Select
While this does lead to a runtime issue, namely an error along the lines of No parameterless constructor defined for this object., it'd probably be easier for a lot of developers if Acuminator had a diagnostic about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststatic analysisItems related to static code analysis

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions