有人可以在这里帮助我吗,我收到与“类型名称冲突”相关的警告,如下所示。我正在使用 graphql-spqr-spring-boot-starter。
2020-06-06 19:04:15.972 WARN 22428 --- [ main] i.l.graphql.generator.OperationMapper : Potential type name collision detected: 'String' bound to multiple types: java.lang.String (loaded by the bootstrap class loader) and @javax.validation.Valid() java.lang.String (loaded by the bootstrap class loader). Assign unique names using the appropriate annotations or override the TypeInfoGenerator. For details and solutions see https://github.com/leangen/graphql-spqr/wiki/Errors#non-unique-type-name. If this warning is a false positive, please report it: https://github.com/leangen/graphql-spqr/issues.
我参考了页面https://github.com/leangen/graphql-spqr/wiki/Errors#non-unique-type-name但无法找到/理解如何修复它。我是graphql的新手,非常感谢任何人的帮助。