thecodingmachine/graphqlite-symfony-validator-bridge
Bridge between GraphQLite and Symfony Validator: validate GraphQL inputs and arguments using Symfony constraints, returning validation errors in GraphQL responses. Integrates with GraphQLite’s validation features for Symfony-based projects.
@Assert\Email, @Assert\Length), reducing technical debt and developer onboarding time.@Assert\Callback for domain-specific logic) across GraphQL mutations without custom resolvers.graphql-php/validator or custom middleware.For Executives: "This package lets us leverage our existing Symfony validation rules—like email formats, length checks, and custom business logic—in our GraphQL APIs without rewriting a single line of validation code. It’s a low-risk, high-reward way to add robust validation to GraphQL endpoints, reducing bugs, improving data quality, and saving development time. Since it’s maintained by the GraphQLite team and integrates seamlessly with Symfony, it’s a stable, future-proof solution that aligns with our tech stack. The cost? Minimal—just a few lines of configuration to reuse what we already have."
For Engineering:
*"The GraphQLite-Symfony Validator Bridge lets us validate GraphQL inputs using Symfony’s constraints (e.g., @Assert\Email, @Assert\NotBlank) with zero boilerplate. Here’s why it’s a win:
@Assert\Email to a GraphQL input type, and invalid emails will automatically return clear error messages.
Tradeoffs:How can I help you explore Laravel packages today?