-
Notifications
You must be signed in to change notification settings - Fork 322
Closed
Description
Hi there,
first of all thank you for your awesome work. I noticed a potential bug on the M5 release of spring-boot-graphql. Upon launching my application the exception "Object of class [java.lang.String] must be an instance of class org.springframework.format.support.FormattingConversionService" occurs.
After a bit of digging in the code I noticed a potential bug in the following line:
Line 135 in 0b449d8
Assert.isInstanceOf(FormattingConversionService.class, "FormattingConversionService is required"); |
I am no expert in this by all means, but isn't the second argument of the assert the actual object to check? Thus passing the message as the second argument would raise the exception shown above.
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug