Closed kbsali closed 2 years ago
Hi again @kbsali ! 😂
Thank you so much for reporting this issue.
Could you perhaps share a screenshot of the diagram, and a snapshot after you click export types? Appreciate it!
Here is before adding the self ref foreign key :
And after :
Not sure about the "snapshot after you click export", it just won't work! :grimacing:
Thank you so much for the input! Yeah this could be memory leak due to self referencing infinitely.
Bugged fix on https://github.com/zernonia/supabase-schema/commit/7fb36c422a2b9dad35d0279a985bd20214f3f21b . This is indeed causes by self-referencing infinite loop.
Thank you for reporting this, and the patience! 😄
awesome, thank YOU for being so reactive on that one! :)
The export buttons are failing for me without a self referencing foreign key. The page crashes.
I haven't been able to debug the issue.
I have a self-referencing foreign key on one of my tables (concretely
category.parent_id
), the diagram shows it perfectly, but exporting to types fails (memory leak?).