<feed xmlns='http://www.w3.org/2005/Atom'>
<title>graphql/src/Language/GraphQL.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>Draft the Validation API</title>
<updated>2020-07-20T19:29:12+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-20T19:29:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=44d506d4b57e450480cf9c476bd927a43ad9c25d'/>
<id>44d506d4b57e450480cf9c476bd927a43ad9c25d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Return a stream as well from graphql* functions</title>
<updated>2020-07-19T05:36:06+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-19T05:36:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=b9d5b1fb1bdf634137f463186585bc51e540353b'/>
<id>b9d5b1fb1bdf634137f463186585bc51e540353b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>Return parser error location in a list</title>
<updated>2020-07-08T06:17:55+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-08T06:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=c9e265f72c301a543091d58ec10863c66b279fd0'/>
<id>c9e265f72c301a543091d58ec10863c66b279fd0</id>
<content type='text'>
An error can have multiple locations which are returned in a listt with
key "locations".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An error can have multiple locations which are returned in a listt with
key "locations".
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle errors using custom types</title>
<updated>2020-07-05T12:36:00+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-05T12:36:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=a6f9cec413c35abdcb0d04a5550334dd2fa7d472'/>
<id>a6f9cec413c35abdcb0d04a5550334dd2fa7d472</id>
<content type='text'>
Fixes #32.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #32.
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve abstract types</title>
<updated>2020-06-03T05:20:38+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-06-03T05:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=93a04032886976b540f5fdb1417bd085a642f772'/>
<id>93a04032886976b540f5fdb1417bd085a642f772</id>
<content type='text'>
Objects that can be a part of an union or interface should return
__typename as string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Objects that can be a part of an union or interface should return
__typename as string.
</pre>
</div>
</content>
</entry>
<entry>
<title>Coerce variable values</title>
<updated>2020-05-21T08:20:59+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-05-21T08:20:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=c3ecfece0358d79dd1da6efbe6ab83e63bf50f88'/>
<id>c3ecfece0358d79dd1da6efbe6ab83e63bf50f88</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>Separate Query and Mutation resolvers</title>
<updated>2020-05-10T16:32:58+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-05-10T16:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=500cff20eb21b28359400b99a4dfda4009229b95'/>
<id>500cff20eb21b28359400b99a4dfda4009229b95</id>
<content type='text'>
Fixes #33 .
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #33 .
</pre>
</div>
</content>
</entry>
</feed>
