Skip to content

Instantly share code, notes, and snippets.

@jmayaalv
jmayaalv / pathom3 batch error
Last active May 12, 2021 14:49
batch reosolvers bug?
(def db {:a {1 {:a/id 1 :a/code "a-1"}
2 {:a/id 2 :a/code "a-2"}}
:f {1 {:f/id 1 :f/code "f-1"}
2 {:f/id 2 :f/code "f-2"}}
:b {1 [{:f/id 1}]}
:c {1 [{:f/id 2}]}})
(pco/defresolver a [input]
{::pco/input [:a/id]
::pco/output [:a/id :a/code]
SEVERE: Unable to invoke no-args constructor for class org.eclipse.lsp4j.CompletionItemInsertTextModeSupportCapabilities. Registering an InstanceCreator with Gson for this type may fix this problem.
java.lang.RuntimeException: Unable to invoke no-args constructor for class org.eclipse.lsp4j.CompletionItemInsertTextModeSupportCapabilities. Registering an InstanceCreator with Gson for this type may fix this problem.
at com.google.gson.internal.ConstructorConstructor$14.construct(ConstructorConstructor.java:228)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:212)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFacto