Function trustfall_core::frontend::parse

source ·
pub fn parse(
    schema: &Schema,
    query: impl AsRef<str>
) -> Result<Arc<IndexedQuery>, FrontendError>
Expand description

Parses a query string to the Trustfall IR using a provided Schema. May fail if parse_to_ir fails for the provided schema and query.