Skip to content

Legend FAQs

Beeke-Marie Nelke edited this page Aug 23, 2021 · 12 revisions

1) Data Modeling

a. Complex Data Types: Does Legend support common complex data types that can be utilized by many models?

Yes, Legend supports common complex data types. For  example, you can define a Money class that can be re-used by many models. How? Users can create a common project and depend on it (note: project dependencies are not yet fully open sourced).

b. Common Classes: Does Legend support common classes that can be utilized by many models?

Yes, Legend supports common classes. See also question 1.a. Users can group common classes into a single project and depend on it (note: project dependencies are not yet fully open sourced).

c. Regular Expression matches: How do we add a regular expression check for a constraint? Example I want the property to be nonemptystring allowing only alpha & numeric.

This would be handled via the matches function in Legend PURE. It is not yet open sourced.

Clone this wiki locally