Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GraphlintConfig configuration class #44

Open
owenvoke opened this issue Sep 24, 2024 · 0 comments · May be fixed by #45
Open

Add GraphlintConfig configuration class #44

owenvoke opened this issue Sep 24, 2024 · 0 comments · May be fixed by #45

Comments

@owenvoke
Copy link
Member

owenvoke commented Sep 24, 2024

It would be nice to refactor the configuration to use a new GraphLintConfig class instead of relying on a callback with ContainerConfigurator.

The container configurator would still be used behind the scenes, but this would allow for an easier configuration file format.

This could allow configs such as:

return GraphLintConfig::configure()
    ->withPreparedSets(standard: true)
    ->ignoring(
        'OrderByClause',
    );
@owenvoke owenvoke changed the title Add GraphLintConfig configuration class Add GraphlintConfig configuration class Sep 24, 2024
@owenvoke owenvoke linked a pull request Sep 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant