cost 125 ms
JWT 身份验证 graphql-spqr 与 spring 安全 - JWT Authentication graphql-spqr with spring security

我在 spring 启动应用程序中使用 graphql-spqr-spring-boot-starter,版本 0.0.5。 @GraphQLApi 和 @GraphQLQuery 工作正常,我也在 /gui 上获取数据。 但正如许多人所面临的那样,我正在尝试在 graphql 服务器调用上应用身 ...

如何使用 spqr-spring-boot-starter 在 graphql 中获取模式文件? - How to get a schema file in graphql using spqr-spring-boot-starter?

谁能帮助我如何使用 spqr-spring-boot-starter 获取模式文件? 我在网上找了解决方案,发现了这个: How to get the generated scheme file.graphqls using SPQR? 但我不确定我应该为模式传递什么? 当我使用 spqr-spr ...

无法摆脱 graphql-spqr-spring-boot-starter 中的“获取数据时异常(/{apiName})” - Unable to get rid of 'Exception while fetching data(/{apiName})' in graphql-spqr-spring-boot-starter

我正在使用 'io.leangen.graphql' 的 'graphql-spqr-spring-boot-starter' 库版本 0.0.4。 我可以自定义错误。 请参阅以下代码和屏幕截图以供参考: 楷模: 服务 class: 自定义异常 class: 但是,我不确定如何Exception ...

我们如何从 GraphQL 的 RequestContextHolder 中获取 GraphQL 的 HttpServletRequest(DefaultGlobalContext)(使用 graphql-spqr-spring-boot-starter)? - How can we get HttpServletRequest(DefaultGlobalContext) for GraphQL from RequestContextHolder for GraphQL (using graphql-spqr-spring-boot-starter)?

我正在使用graphql-spqr-spring-boot-starter库将现有的 Rest API 项目迁移到 GraphQL。 我有一段代码可以从RequestContextHolder中为 Rest API 获取当前的HttpServletRequest : 但是,这将为 GraphQL ...

为什么我会收到与使用 graphql-spqr-spring-boot-starter 的“类型名称冲突”相关的警告? - Why am I getting a warning related to 'type name collision' using graphql-spqr-spring-boot-starter?

有人可以在这里帮助我吗,我收到与“类型名称冲突”相关的警告,如下所示。 我正在使用 graphql-spqr-spring-boot-starter。 我参考了页面https://github.com/leangen/graphql-spqr/wiki/Errors#non-unique-type ...

如何使用 spring-spqr graphql-spqr-spring-boot-starter graphQL 的注释创建片段 - how to create fragments using Annotations of spring-spqr graphql-spqr-spring-boot-starter graphQL

使用graphql-spqr-spring-boot-starter和graphql-spqr但无法使用 @GraphQLDirective 创建片段,不确定是否有办法这样做。 我的意图是通过像这样的代码来创建片段 并在下面的查询中使用这个片段,有人可以指导我使用的注释是什么 ...

带有 Spring Boot 和事务边界的 graphql-spqr - graphql-spqr with Spring Boot and Transactional Boundary

我们正在为一个新项目(使用 Spring DataJPA、hibernate 等)使用 graphql-spqr 和 graphql-spqr-spring-boot-starter。 我们有这样的突变: 这种突变工作正常: 我省略了变量,因为它们并不重要。 如果我将其更改为: 我得到 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM