Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit cc46beb

Browse files
committed
Fixed unit test
1 parent 2cfe6f0 commit cc46beb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

graphql-spring-boot-autoconfigure/src/main/java/com/oembedler/moon/graphql/boot/GraphQLWebAutoConfiguration.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,10 @@ public ServletRegistrationBean<AbstractGraphQLHttpServlet> graphQLServletRegistr
254254
private MultipartConfigElement multipartConfigElement() {
255255
return Optional.ofNullable(multipartConfigElement).orElse(new MultipartConfigElement(""));
256256
}
257+
258+
@Bean
259+
@ConditionalOnMissingBean
260+
public ObjectMapper objectMapper() {
261+
return new ObjectMapper();
262+
}
257263
}

0 commit comments

Comments
 (0)