Tag: Interface
-
Post Views: 44 As a long-term user of the EcoVacs sweeping robot, it has always relied on it to free our hands, especially the self-cleaning function of the mop, which saves the trouble of manual disassembly and washing. However, I found a difficult problem recently. After mopping the floor, there is no water mark on the floor. At first, I…
-
Post Views: 41 Interpret t Any constraint: Allows storage of any type.Explain the pointer structure of a unidirectional linked list.Constructor new:Shows how to initialize a generic node.
-
Post Views: 40 1. There are 10,000 parameters in the IN condition (the upper limit of the product needs to be 10,000), resulting in a long query time, and the interface response timeout. as shown in Figure 1 2. When the number of parameters of PLAT_ORDER_ID is reduced from 10000 to 5, the interface response does not time out, and…
-
Post Views: 31 1. The existing implementation is as follows. After the verification of the field itself fails, the interface response will always be: the database operation fails, please contact the administrator, the user experience is not friendly. as shown in Figure 1 2. Hope to achieve the following, 1. Do not expose database exceptions (such as SQL errors, PDO…
-
Post Views: 85 1. In the performance environment, the list interface response timeout. as shown in Figure 1 2. Determine the sql of the interface to execute, connect the mysql of the performance environment in the local environment, and then view the generated sql in Laravel Telescope, and find a select count(*) as aggregate FROM is much longer than other…
-
Post Views: 17 1. In GraphQL Mutation, in the same HTTP request, only one mutation is now executed. as shown in Figure 1 2. When there are too many HTTP requests per unit time, the current limit of the interface will be triggered. as shown in Figure 2 3. It is planned to execute multiple mutations in the same HTTP…
-
Post Views: 20 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 will be reported. 3. After uncommenting, check ThemeStoreGraphQL/Resolver/OnlineStoreEtheme/TemplateSettingsDateResolver.php . TemplateSchemaLoaderInterface is passed as a parameter to the constructor. 4. Check the service provider class of…
-
Post Views: 18 1. Error in Laravel 6: Target[Interface]Is not instantiable while building[Resolver]. as shown in Figure 1 2. View git logs, analyze /modules/themestore/providers/themestoreServiceProvider.php, send Now there is a shared binding registered in the container: ThemeConfigLoaderInterface::Class, but now it does not exist. as shown in Figure 2 3. Finally found this shared binding: ThemeConfigLoaderInterface::Class has been moved to /modules/themesetting/providers/themesettingServiceProvider.php 4.…
-
Post Views: 14 1. Error in Laravel 6: Target[Interface]Is not instantiable while building[Resolver]. as shown in Figure 1 2. Check /modules/themestore/providers/themestoreServiceProvider.php, prompting undefined classThemeschemaLoaderInterface. as shown in Figure 2 3. However, you can confirm the classThemeschemaLoaderInterfaceis there. In the end, I found that the path of use is wrong. Delete the theme\ from the path. IDE no longer prompts. as…