<feed xmlns='http://www.w3.org/2005/Atom'>
<title>graphql, branch v0.9.0.0</title>
<subtitle>GraphQL implementation in Haskell.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/'/>
<entry>
<title>Release 0.9.0.0</title>
<updated>2020-07-24T19:34:31+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-24T19:34:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=adeba459a20e3fa2e74d98ae7219ef3ed41e7883'/>
<id>adeba459a20e3fa2e74d98ae7219ef3ed41e7883</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>Respect subscriptions in the executor</title>
<updated>2020-07-15T17:15:31+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-15T17:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=e24386402be444e643d7d9c8ef82c1fe2205c7fc'/>
<id>e24386402be444e643d7d9c8ef82c1fe2205c7fc</id>
<content type='text'>
After the last commit there were a few places needed to be adjusted to
support subscriptions. This is done and a test case is added.

It is important to implement subscriptions now, because they require
changes to the library API, and they are a big missing part to finish
the executor. When the executor is finished, we can start to provide
more stable API without breaking everything every release. Validation
and introspection shouldn't require much changes to the API; AST would
require some changes to report good errors after the validation - this
is one thing I can think of.

Fixes #5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the last commit there were a few places needed to be adjusted to
support subscriptions. This is done and a test case is added.

It is important to implement subscriptions now, because they require
changes to the library API, and they are a big missing part to finish
the executor. When the executor is finished, we can start to provide
more stable API without breaking everything every release. Validation
and introspection shouldn't require much changes to the API; AST would
require some changes to report good errors after the validation - this
is one thing I can think of.

Fixes #5.
</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>Parse subscriptions</title>
<updated>2020-07-11T04:34:10+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-11T04:34:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=840e129c4496b4e8145480d2b3c3cb34f505702e'/>
<id>840e129c4496b4e8145480d2b3c3cb34f505702e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Label parsers with help info</title>
<updated>2020-07-10T06:43:47+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-10T06:43:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=04a58be3f86ced396eed26f90643e7c88e7f2b4d'/>
<id>04a58be3f86ced396eed26f90643e7c88e7f2b4d</id>
<content type='text'>
Fixes #36.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #36.
</pre>
</div>
</content>
</entry>
<entry>
<title>Parse comments in the front of definitions</title>
<updated>2020-07-09T06:11:12+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-07-09T06:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=28781586a5ecf31630730ef0d8dbdbfe6041e7d3'/>
<id>28781586a5ecf31630730ef0d8dbdbfe6041e7d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>
</feed>
