sbt-graphql icon indicating copy to clipboard operation
sbt-graphql copied to clipboard

Add toString to graphqlCodegenStyle, Json

Open dcsobral opened this issue 5 years ago • 2 comments

It would be helpful to sbt users if they could see what the value of these settings/tasks are, by turning the functions into classes defining toString.

dcsobral avatar Apr 08 '20 01:04 dcsobral

Thanks @dcsobral for the feature request. That makes totally sense. I guess we don't care about binary compatibility so we can just change the task type.

Would you like to open a pull request for this?

muuki88 avatar Apr 08 '20 08:04 muuki88

I don't think the task type needs changing at all. One is Function1, which can be extended by a class or object. The other is already a specific type, iirc.

dcsobral avatar Apr 08 '20 09:04 dcsobral