Using fauna/faunadb:5.5.0 locally…
I have a UDF written in v4 that calls q.Delete, and returns that document. Then when I call that v4 UDF from v10 I get the following error:
java.lang.ClassCastException: class fauna.storage.doc.DeletedVersion cannot be cast to class fauna.storage.doc.LiveVersion (fauna.storage.doc.DeletedVersion and fauna.storage.doc.LiveVersion are in unnamed module of loader ‘app’) Please create a ticket at https://support.fauna.com java.lang.ClassCastException: class fauna.storage.doc.DeletedVersion cannot be cast to class fauna.storage.doc.LiveVersion (fauna.storage.doc.DeletedVersion and fauna.storage.doc.LiveVersion are in unnamed module of loader ‘app’)