haskell-graphql / graphql-api

Write type-safe GraphQL services in Haskell
BSD 3-Clause "New" or "Revised" License
406 stars 35 forks source link

Tom end to end #78

Closed teh closed 7 years ago

teh commented 7 years ago

I know the type stuff is getting a bit WTF but I think I managed to contain most of the weird type errors in Resolver.hs by avoiding non-closed transforms on types the users have to implement. I probably missed some, remains to be seen.

Tests are failing and the enum implementation itself is still buggy (need to figure out how to extract the name from a ValueEnum). Will ping this branch when fixed.

jml commented 7 years ago

Thanks!

I've incorporated some of the fixes into my own branch. I'm going to hold off on the renames for now—not because I think they are necessarily a bad idea, but because I don't understand my own examples well enough yet to pick good names, hence the deliberately awful ServerDog.

Some questions to follow soon.

jml commented 7 years ago

I'll incorporate this into my branch with a little rebasing, if that's OK with you.

teh commented 7 years ago

Please do!

jml commented 7 years ago

Closing since #77 is merged and most of these changes were included in it.