You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load an RDFResource somehow (genegraph.database.query/select, or something)
Do a q/ld-> function call on it for a predicate that exists (this works)
Recompile the genegraph.database.query.types module in the REPL, which includes the RDFResource class.
Repeat step (3). (this doesn't work)
Performing the operation that constructed the RDFResource object from (2) makes it work again. So this seems like something to do with how protocols attach to classes/deftypes in clojure. Recompiling the class makes the protocol functions not recognize an object made from the class prior to the recompilation.
q/ld->function call on it for a predicate that exists (this works)genegraph.database.query.typesmodule in the REPL, which includes the RDFResource class.Performing the operation that constructed the RDFResource object from (2) makes it work again. So this seems like something to do with how protocols attach to classes/deftypes in clojure. Recompiling the class makes the protocol functions not recognize an object made from the class prior to the recompilation.