-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client side formatting #42
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: