How to provide resolver to JsonForms

let resolver = {
    order: 1,
    canRead: function(file) {
        console.log(file);
        return true;
    },
    read: function(file) {
        console.log(file);
        // return JSON.stringify(yourSchemaObject)
    }
};

const refParserOptions = {
    resolve: {
        foo: resolver
    }
};

const JobForm = props => {
    return (
        <JsonForms
            schema={PositionOpeningType}
            renderers={materialRenderers}
            ajv={ajv}
            refParserOptions={refParserOptions}
        />
    );
};

The resolver doesnt execute anything.

[original thread by FBurner]

Hi @fburner, in general your code looks fine. Therefore I need more detailed information to possibly help you. It would be nice to see the schema, uischema and data as well as how you configured Ajv. Do you get runtime errors when executing this?