在灯塔 3 和 4 之前,我可以做这样的事情
<pre><code>extend type Mutation @group(
namespace: "Api\\Jobs\\Resolve
我正在尝试根据用户角色保护我的查询。由于 <code>@middleware()</code> 指令在当前版本的灯塔中不可用,我
我正在构建一个使用 <a href="https://lighthouse-php.com/" rel="nofollow noreferrer">lighthouse-php</a> 的应用程序。因为
这是我对嵌套突变的输入:
<pre><code>input ActivityInput {
id: ID
user_id: ID
goal: String
}
input ActivityRelation
我正在为 laravel 运行灯塔,但默认情况下它不起作用 <code>@orderBy</code>(没有传递参数)。
我遵循
如何在 lighthouse eloquent query 中进行以下查询?
<code>timeloop.job.Job
</code>
当我在查询构建器中使用 <code>first()</code> 时,我得到了结果。见:
<pre class="lang-php prettyprint-override"><
如何将 <code>JSON</code> 类型添加到灯塔?
我看过这个包,但我不知道如何使用它,也没有任何可用
我正在使用 Laravel 和 Lighthouse 包。现在我正在尝试制作一个包含客户撰写的所有评论的列表页面。我可
我正在尝试构建一个多租户 API,到目前为止,我的 API 运行良好,并且我设法实现了多租户(使用 <a href
如果产品只与一个“子类别”相关,我如何获取“主类别”的所有产品?一个产品只与一个子类别相关
有没有办法将现在的日期时间注入到一个突变中?
像这样:
<pre><code>customerUpsert(input: CustomerInput
这是电影架构:
<pre><code>type Book {
id: ID!
title: String
author: [Author] @belongsTo(relation: "author"
我是 LightHouse 的新手,正在尝试找出执行以下操作的最佳方法:
<pre><code>\App\Models\User
\App\Models\Company
如何仅使用 PHP/phpunit/Laravel 和 laravel-lighthouse GraphQL 库进行 phpunit 订阅?
我正在尝试为我的应用程
如何在查询中添加<code>where</code>条件?
<pre><code>projects: [Project!]! @all @orderBy(column: "id", direction: D
我正在使用 <a href="https://github.com/nuwave/lighthouse" rel="nofollow noreferrer">Lighthouse</a> 包来实现 GraphQL,我的应
我使用灯塔包来制作我的 graphql 模式 (<a href="https://github.com/nuwave/lighthouse" rel="nofollow noreferrer">https://github