   {::schema-keys (into #{:db/id} (keys schema))})
 
 (defn datomic-resolve
-  "Runs the resolver to fetch datomic data from identities."
+  "Runs the resolver to fetch Datomic data from identities."
   [{::keys [db]
     :as    config}
    env]

          :not-in/datomic
          [:country/name]}]}]

  The sub-query will be send to datomic, filtering out unsupported keys
  like `:not-in/datomic`."
  [{::keys [db] :as env} dquery]
  (let [subquery (entity-subquery env)]

         p/ast->query)))

(defn pick-ident-key
  "Figures which key to use to request data from Datomic. This will
  try to pick :db/id if available, returning the number directly.
  Otherwise will look for some attribute that is a unique and is on
  the map, in case of multiple one will be selected by random. The
