Function prisma_fmt::format

source ·
pub fn format(schema: &str, params: &str) -> String
Expand description

The two parameters are:

The function returns the formatted schema, as a string.

Of the DocumentFormattingParams, we only take into account tabSize, at the moment.