Benedikt Franke

Results 449 comments of Benedikt Franke

Can you check https://github.com/nuwave/lighthouse/pull/1253 for inspiration?

Another related issue: https://github.com/nuwave/lighthouse/issues/1214 I feel like all of those could be solved upstream by Laravel itself. If not, we have to think long and hard about how we can...

While I do like the explicit second version, the first version seems nicer when using the `scopes` argument of other directives such as `@all`. ```graphql # It is clear what...

I would be happy to discuss this further in a PR.

It could be necessary do have arbitrary ordering in the SQL clause, for example ordering by month and ignoring the year: ```sql SUBSTR(created_at, 5, 2) ASC ``` Adding special support...

These are not operators though, they are functions. As shown in the example, they can take multiple arguments and are thus not simply addded through some boolean flags. Actually, they...

You can always order on the client 😉 My feature proposal could be extended to work on relations too. Adapted to your example: ```graphql type Query { brands( orderBy: _...

Looks like we have a good idea of how this could work. Some of the finer details will have to be fleshed out in the implementation: - exact name of...

Do you actually register your enum class with the `TypeRegistry`?

This is tricky to validate, given we want generally want to leverage lazy loading. When calling `validate-schema`, the following happens in order: 1. Laravel boots and calls service providers 2....