Fluxion::Config::Loader
Reads a profile off disk and turns it into a Profile.
The two frontends are detected rather than declared, because asking the user to say which schema they wrote would be asking them to repeat something the document already makes obvious.
Constants
MAX_CONFIG_BYTES = (8_i64 * 1024) * 1024
A profile is a hand-written config file. Anything this large is either a mistake or an attempt to exhaust memory before parsing even starts.
Instance methods
Loads and validates a profile. Raises ValidationError carrying every
diagnostic, so the caller can print them all at once.