<feed xmlns='http://www.w3.org/2005/Atom'>
<title>graphql/tests/Test/StarWars/QuerySpec.hs, 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>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>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>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>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>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>Replace MonadIO constraint with just Monad</title>
<updated>2020-02-01T19:46:35+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2020-02-01T19:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=67bebf853ca5a248358ea1854124a46b70c677cd'/>
<id>67bebf853ca5a248358ea1854124a46b70c677cd</id>
<content type='text'>
And make the tests use Identity instead of IO.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And make the tests use Identity instead of IO.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace substitution function with a map</title>
<updated>2019-12-30T17:26:24+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2019-12-30T17:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=44dc80bb37558fc6a35b22791ac407b63956176d'/>
<id>44dc80bb37558fc6a35b22791ac407b63956176d</id>
<content type='text'>
It makes using variables with queries more approachable, but some work
still has to be done.
- The type `Subs` should be renamed and moved out of `Schema`, together with
`AST.Core.Value` probably.
- Some kind of conversion should be possible from a user-defined input
type T to the Value. So the final HashMap should have a type like
`HashMap name a`, where a is an instance of a potential typeclass
InputType.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It makes using variables with queries more approachable, but some work
still has to be done.
- The type `Subs` should be renamed and moved out of `Schema`, together with
`AST.Core.Value` probably.
- Some kind of conversion should be possible from a user-defined input
type T to the Value. So the final HashMap should have a type like
`HashMap name a`, where a is an instance of a potential typeclass
InputType.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace tasty and HUnit with Hspec</title>
<updated>2019-07-10T03:57:35+00:00</updated>
<author>
<name>Eugen Wissner</name>
<email>belka@caraus.de</email>
</author>
<published>2019-07-10T03:57:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.caraus.tech/graphql/commit/?id=eb40810f25a2ab29e24c64f1e3c82b3b590460c8'/>
<id>eb40810f25a2ab29e24c64f1e3c82b3b590460c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
