[go: up one dir, main page]

Skip to content

Geo: Add a new finder for matching a model name against a model class

What does this MR do and why?

This MR adds a Finder class whose responsibility is matching a String representing a model_name to an actual Model class. This will enable the frontend to be able to receive the model_name associated with a replicator, as well as passing it as parameter to retrieve information about this model.

References

Related to #542384 (closed)

How to set up and validate locally

See specs for test coverage and how to use the new class in the Rails console.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading