<feed xmlns='http://www.w3.org/2005/Atom'>
<title>graphql/tests/Test/StarWars/Data.hs, branch v0.10.0.0</title>
<subtitle>GraphQL implementation in Haskell.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/'/>
<entry>
<title>Constrain base monad to MonadCatch</title>
<updated>2020-07-17T05:05:03+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-17T05:05:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=09135c581aaae471f7d964bc2a3a141bef299097'/>
<id>09135c581aaae471f7d964bc2a3a141bef299097</id>
<content type='text'>
Let's try MonadThrow/MonadCatch. It looks nice at a first glance. The
monad transformer stack contains only the ReaderT, less lifts are
required. Exception subtyping is easier, the user can (and should)
define custom error types and throw them. And it is still possible to
use pure error handling, if someone doesn't like runtime exceptions or
need to run a query in a pure environment.

Fixes #42.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let's try MonadThrow/MonadCatch. It looks nice at a first glance. The
monad transformer stack contains only the ReaderT, less lifts are
required. Exception subtyping is easier, the user can (and should)
define custom error types and throw them. And it is still possible to
use pure error handling, if someone doesn't like runtime exceptions or
need to run a query in a pure environment.

Fixes #42.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support subscriptions</title>
<updated>2020-07-14T17:37:56+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-14T17:37:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=ae2210f6598f166116abebc1163e1523d3bc627c'/>
<id>ae2210f6598f166116abebc1163e1523d3bc627c</id>
<content type='text'>
This is experimental support.
The implementation is based on conduit and is boring. There is a new
resolver data constructor that should create a source event stream. The
executor receives the events, pipes them through the normal execution
and puts them into the response stream which is returned to the user.

- Tests are missing.
- The executor should check field value resolver on subscription types.
- The graphql function should probably return (Either
  ResponseEventStream Response), but I'm not sure about this. It will
  make the usage more complicated if no subscriptions are involved, but
  with the current API implementing subscriptions is more
  difficult than it should be.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is experimental support.
The implementation is based on conduit and is boring. There is a new
resolver data constructor that should create a source event stream. The
executor receives the events, pipes them through the normal execution
and puts them into the response stream which is returned to the user.

- Tests are missing.
- The executor should check field value resolver on subscription types.
- The graphql function should probably return (Either
  ResponseEventStream Response), but I'm not sure about this. It will
  make the usage more complicated if no subscriptions are involved, but
  with the current API implementing subscriptions is more
  difficult than it should be.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge Trans and Type.Out modules</title>
<updated>2020-07-02T05:33:03+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-02T05:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=2f4310268a12e46911e3c3e9c2044ad1e46ae9f6'/>
<id>2f4310268a12e46911e3c3e9c2044ad1e46ae9f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Combine Resolver and ActionT in ResolverT</title>
<updated>2020-06-29T11:14:23+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-06-29T11:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=705e506c13b6c0f67ddf0195fa0d3256e7e4f9c3'/>
<id>705e506c13b6c0f67ddf0195fa0d3256e7e4f9c3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Coerce result</title>
<updated>2020-06-13T05:20:19+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-06-13T05:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=882276a845c33c06b235d9604cbfd5b55d784c7d'/>
<id>882276a845c33c06b235d9604cbfd5b55d784c7d</id>
<content type='text'>
Fixes #45.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #45.
</pre>
</div>
</content>
</entry>
<entry>
<title>Define resolvers on type fields</title>
<updated>2020-05-29T11:53:51+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-05-27T21:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=d12577ae717512979c7654191ca65f25fc877907'/>
<id>d12577ae717512979c7654191ca65f25fc877907</id>
<content type='text'>
Returning resolvers from other resolvers isn't supported anymore. Since
we have a type system now, we define the resolvers in the object type
fields and pass an object with the previous result to them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Returning resolvers from other resolvers isn't supported anymore. Since
we have a type system now, we define the resolvers in the object type
fields and pass an object with the previous result to them.
</pre>
</div>
</content>
</entry>
<entry>
<title>Split input/output types and values into 2 modules</title>
<updated>2020-05-25T05:41:21+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-05-25T05:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=61dbe6c7280a899b485146aa8557948417e78360'/>
<id>61dbe6c7280a899b485146aa8557948417e78360</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't fail on invalid fragments and variables</title>
<updated>2020-05-23T19:49:57+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-05-23T04:46:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=7cd48217187911855cd2ad473e58d11df0c69d48'/>
<id>7cd48217187911855cd2ad473e58d11df0c69d48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add basic output object type support</title>
<updated>2020-05-14T20:16:56+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-05-14T07:17:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=a5c44f30facdaabd94ed25953a3bd88005efa868'/>
<id>a5c44f30facdaabd94ed25953a3bd88005efa868</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to Stack 15.x</title>
<updated>2020-02-20T04:16:14+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-02-20T04:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=613e929d91dfc46ecfc5e28479098ce52aeb56f6'/>
<id>613e929d91dfc46ecfc5e28479098ce52aeb56f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
