Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I am starting a new Laravel project with Lighthouse and have been problems with resolving non root fields. According to the documentation here for each of the fields that have complex types, there should be a model and a query provided for the field. So in this example I have a Version object which has two subfields: appVersion and apiVersion. Here is what I have in my schema.graphql file: ``` type Query { version: Version }
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- how to display constantly changing data from a database in real time
- Give me your honest opinion - REST or GraphQL?
- Is having multiple different API resources for the same model, each doing things slightly different, a bad practice or an indication of bad design?
- Creating a GraphQL Server With PHP
- Laravel-powered API: how to fetch a resource and its nested data?