Tagged: DeferrableProvider

在一段时间后,突然发现自定义验证规则的 message 中翻译不可用。验证失败时响应的 message 未被翻译 0

In Laravel 6, Module, the translation of unavailable translations in the message of custom validation rules (caused by delay provider)

浏览量: 2 1. Reference:https://www.shuijingwanwq.com/2022/04/26/6341/ 2. After a period of time, I suddenly found that the translation in the message of the custom verification rule is not available. Message that responds when validation fails is...

在 Lighthouse 5 中,报错:Illuminate\Contracts\Container\BindingResolutionException : Target [Interface] is not instantiable while building [Resolver]. 0

In Laravel 6, Lighthouse 5, nwidart/laravel-modules 7, an error is reported: illuminate\contracts\container\bindingResolutionException : target[Interface]Is not instantiable while building[Resolver]. To delay loading the provider, the providers method is not implemented

浏览量: 1 1. In Lighthouse 5, an error is reported: illuminate\contracts\container\bindingResolutionException : target[Interface]Is not instantiable while building[Resolver]… as shown in Figure 1 2. Edit ThemeStoreGraphQL/Resources/GraphQL/Theme_Setting.GraphQL , comment out: TemplateSettingsData(BaseName: String!):[ThemeSection]@field(resolver: “modules\\themestoreGraphQL\\resolver\\onlinestoreetheme\\TemplateSettingsDataResolver”). Then no errors...