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
but I was getting a java.lang.StackOverflowError from the lazy codec constantly calling itself. Is there a correct way to unpack recursive case classes?
The text was updated successfully, but these errors were encountered:
I have two case classes, one being recursive while the other references the recursive case class.
This was how I was planning to create codecs for these case classes:
but I was getting a
java.lang.StackOverflowError
from the lazy codec constantly calling itself. Is there a correct way to unpack recursive case classes?The text was updated successfully, but these errors were encountered: