I'm coming closer to the point of starting to writ...
# apollo-kotlin
f
I'm coming closer to the point of starting to write code on
apollo-kotlin
, though I have some server code that not sure where to put. At this point I'd prefer the server to run standalone, so that excludes putting all its code into
src/test
. Maybe a new module in
apollo-kotlin
, like
apollo-server
? But at the same time I don't have the goal of having a fully fledged server that actually handles true queries/mutations in a nice API (though that would be handy for my own goals if it were easy). Thoughts? Btw I'd like to have a quick voice chat during your office hours, where are you located? If US West Coast I can do something in my early hours, if Europe I can do it in late hours.
b
👋 Currently for WS tests we have a server that uses SpringBoot / graphql-kotlin - it’s in a specific
sample-server
module in
tests
. You can probably follow the same approach, and put your own project at the same level (named e.g.
sample-sse-server
?) Sent you a private message to setup a meeting 🙂
f
that server approach would probably work out, I'll have a look at it. I have made good progress with a ktor server, big advantage is that it can run inside android phones for the sake of instrumented tests and quick dev (like, I don't have to fiddle with IP address and just point to localhost). I wonder if spring is going to fit in there because of memory footprint, but honestly never tried.
Not sure if a module graph like this would be acceptable https://docs.google.com/document/d/1IuO7FVgl6r3-T8NCk5R_dOvnll6h_FJvjaNrtxa8OBk/edit#
b
yes that makes sense to me 🙂. Not sure if you saw we also have
apollo-mockserver
which is the same idea