Skip to content

Option to run checks only on portions of schema that changed #2466

@brandonkwx

Description

@brandonkwx

Component(s)

cli

Is your feature request related to a problem? Please describe.

Our existing schema isn't the best, it doesn't meet all the best practices and standards that the wundergraph linter checks against. Unfortunately in the current state of the linter this means we can't add it as an enforcement mechanism because it fails every change because it's enforcing against the entire schema instead of only the individual fields that were modified.

Describe the solution you'd like

I'd like the linter to detect what portions of the schema was actually touched when a check is ran, and only report results for that portion.

Describe alternatives you've considered

The solution we're currently using is to set all of the checks to WARN instead of ERROR and just filtering through the noise when we review changes.

Additional context

This is in line with the way apollo studio linter checks work, running only on the modified parts of the schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions