introspection
Experimental Feature
Type: IntrospectionConfig
Introspection allows you to define rules that your model names have to follow. To configure model rules, add the following lines to your configuration object:
export default {
// Other configuration lines
introspection: {
modelPatterns: {
$static: {
"Model1": "Mapping1",
"Model2": async (model) => model
},
$regex: {
"Model(\\d)": async (model, match, number) => model
}
}
}
};
Last updated