From 40e786c6015cdb737da5b4996cce33806506f3f5 Mon Sep 17 00:00:00 2001 From: Yannick Scherer Date: Wed, 17 May 2017 17:03:27 +0200 Subject: [PATCH] canonical operations' object fields should contain their type name. --- project.clj | 2 +- src/alumbra/canonical/selection_set.clj | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/project.clj b/project.clj index 3704094..d7f2dc9 100644 --- a/project.clj +++ b/project.clj @@ -6,7 +6,7 @@ :year 2016 :key "mit"} :dependencies [[org.clojure/clojure "1.9.0-alpha14" :scope "provided"] - [alumbra/spec "0.1.9" :scope "provided"] + [alumbra/spec "0.1.10" :scope "provided"] [com.stuartsierra/dependency "0.2.0"] [com.rpl/specter "1.0.1"]] :profiles {:dev diff --git a/src/alumbra/canonical/selection_set.clj b/src/alumbra/canonical/selection_set.clj index 04154bc..0c3d8ec 100644 --- a/src/alumbra/canonical/selection_set.clj +++ b/src/alumbra/canonical/selection_set.clj @@ -50,6 +50,7 @@ selection] (if type-name {:field-type :object + :type-name type-name :non-null? non-null? :selection-set selection} {:field-type :list