LibJF/docs/config/libjf-config-reflect-v1.md

8 lines
614 B
Markdown
Raw Normal View History

# libjf-config-reflect-v1
This module uses reflection to register configs from files using the annotations as presented [here](./libjf-config-core-v1.md)
In order to register a config, simply add the class annotated as `@JfConfig` to the `libjf:config` entrypoint.
Please be aware that this module may load your config class before the game classes are available.
Using them there WILL result in problems!
You should use this module in dev when relying on the [compiler plugin](./libjf-config-compiler-plugin.md) for prod,
as it is not applied in your dev env, and you will be unable to change configs without it.