Ovyerus / prismaliser

Visualise your Prisma schema!
https://prismaliser.app
MIT License
863 stars 44 forks source link

HTTP ERROR 431 #88

Open cipas opened 8 months ago

cipas commented 8 months ago

Hello there,

After I hit copy link and I paste the link in the browser it gives me 431.

Any idea why might that happen ?

Here is the link

Thank you.

Ovyerus commented 8 months ago

HTTP 431 -> "Request Header Fields Too Large".

Probably busted because the URL is so long due to the code query param. Solution would either be to use some sort of compression like zlib (via pako), or to implement a link shortener into Prismaliser so that users dont need to deal with gigantic links.

cipas commented 8 months ago

HTTP 431 -> "Request Header Fields Too Large".

Probably busted because the URL is so long due to the code query param. Solution would either be to use some sort of compression like zlib (via pako), or to implement a link shortener into Prismaliser so that users dont need to deal with gigantic links.

That is also my thought there are situations when I can open the link but the schema is incomplete, so yeah maybe that the issue.

Thanks for the fast reply Ovy.