High performance While all public interfaces are pure and immutable, the library's internals are optimized for speed. Minimal boilerplate No need to manually define schemas for every type in your API. Let the compiler handle the tedious work. Excellent interoperability Out-of-the-box support for major HTTP server libraries, effect types, JSON libraries, and more.
この記事はなに SangriaでGraphQLなAPIを実装するにあたって、公式のサンプルだけだと少し足りないためそれの補足というかtips的な記事。 Sangriaの導入にはこちらをどうぞ。 [Scala]Sangriaを使ってGraphQL APIを実装する - Qiita 複数のモデルにアクセスしたい CtxとValについての補足にも少し書いたが、sangriaではCtxという型パラメータが頻出していてドキュメントでは A typical example of such a context object is a service or repository object that is able to access a database と書いてある。 つまりRepositoryやServiceのようなDBへのアクセス可能なオブジェクトが渡されることを期待している。 しかし、サンプル
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く