mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-03 19:51:49 +00:00
Batch 5 of the API review: document that the built-ins build against iris-api alone
README and DESIGN say that IrisModule compiles against iris-api, VolmLib and Gson only, checks its jar with ModuleJarCheck, and that the classes needing Iris itself live in Iris.
This commit is contained in:
1 parent
b6c2992752
commit
9473c827fe
2 files changed
+8
-1
No files matched your search
@@ -1181,6 +1181,12 @@ A module never reaches the host's engine, its data loader or its layout classes;
|
||||
values and its settings through `FeatureSettings`. Iris's mapping from its internals to this surface, with the
|
||||
utilities that move into VolmLib, is in its notes (context.md, "How a module reaches the host").
|
||||
|
||||
Iris's own built-ins hold to this at compile time: IrisModule is a build of its own whose compile classpath is
|
||||
`com.volmit:iris-api`, VolmLib, Gson and the JDK, never `iris-host` or Iris, and its jar passes `ModuleJarCheck`
|
||||
before Iris bundles it. Iris depends on IrisModule, not the reverse. What the built-ins cannot do through the API they
|
||||
ask through the facades of item 3, which Iris implements; the classes that need Iris itself (the layout model, the
|
||||
structure placer behind `StructureHost`, the object placers behind `ObjectHost`) are Iris's and live there.
|
||||
|
||||
## Not implemented
|
||||
|
||||
- Host wiring, which lives in Iris: JSON decoding and validation, rendering `PackSchema` into Iris's schema and
|
||||
|
||||
Reference in new issue
Block a user