Eamonn12/02/2021, 9:39 AM
while leaving the new
_fun_ generateContext(request: ServerRequest)
optional. I wonder if it should not be the other way around - or for backwards compatibility give them both default implementations. Also in the documentation for Generating GraphQL Context in spring server, the examples are for the deprecated method. To me, as a newcommer, it's a little confusing - just my little bit of feedback. Keep up the good work!
suspend fun generateContextMap(request: ServerRequest): Map<*, Any>?
Dariusz Kuc12/02/2021, 1:33 PM
Eamonn12/02/2021, 3:35 PM