@stream), aligning with trends like live updates (e.g., notifications, collaborative editing) without reinventing WebSocket/GraphQL subscriptions.Mixed types in GraphQL schemas, improving maintainability for large teams.Adopt if:
where clauses (e.g., nested relations, custom operators like contains, startsWith).Mixed types in GraphQL schemas.Look elsewhere if:
= or > conditions on flat tables). Overhead of directives may not justify benefits.For Executives:
"This package lets our engineering team build sophisticated search and real-time features 30–50% faster by automating complex GraphQL query logic. For example, instead of spending weeks writing custom filters for our marketplace, we can now define rules like @searchBy(sku: {gt: 1000, in: [A, B, C]}) in hours. It also reduces technical debt by enforcing type safety—no more Mixed types in our schemas. Early adopters like [hypothetical competitor] use this to launch search features 2x faster while keeping costs low. The MIT license means no vendor lock-in, and it integrates seamlessly with our existing Laravel stack."
For Engineering: *"This adds three superpowers to Lighthouse:
@searchBy: Replace manual where clauses with declarative, typed filters (e.g., not(createdAt: {lt: '2023-01-01'})). Supports relations, enums, and custom operators—no more writing repetitive Eloquent code.@sortBy: Sort by nested relations (e.g., sortBy: user.createdAt) without hacking query builders.@stream: Build real-time GraphQL subscriptions for live updates (e.g., notifications) without WebSocket boilerplate.Why now?
Tradeoffs:
Next steps:
@searchBy on [high-priority query X] to validate speed gains.How can I help you explore Laravel packages today?