graphql

mafcocinco 2019-12-17T21:44:15.003600Z

Ran into a bit an issue with namespaced keywords and resolvers. I'm using version 0.35.0 of Lacinia and it appears as if Lacinia is not respecting namespaced keywords WRT resolvers. For example, I have 2 resolvers in the resolvers map, one named :foo/create and the other named :bar/create. When I use a query that uses :foo/create, Lacinia is invoking :bar/create. The only thing I could think of is that the namespace portion of the keyword is being dropped, thusly naming each resolver :create. Since there are 2 keys with the same name, the last one to be inserted is winning with all others being lost/removed from the resolvers map.