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
Prisma v4.3.0 mentions that the prisma format command now uses a WASM module (@prisma/prisma-fmt-wasm).
Currently formatting is done via an API endpoint which uses the @prisma/internals package. It might be worth looking into seeing how hard it is to commandeer this WASM module to provide schema formatting on the client side, without needing to call out to the API.
The text was updated successfully, but these errors were encountered:
Prisma v4.3.0 mentions that the
prisma format
command now uses a WASM module (@prisma/prisma-fmt-wasm
).Currently formatting is done via an API endpoint which uses the
@prisma/internals
package. It might be worth looking into seeing how hard it is to commandeer this WASM module to provide schema formatting on the client side, without needing to call out to the API.The text was updated successfully, but these errors were encountered: