@xrmforge/devkit 0.7.27 → 0.7.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/templates/AGENT.md +5 -2
- package/package.json +1 -1
package/dist/templates/AGENT.md
CHANGED
|
@@ -142,8 +142,11 @@ function onChange(ctx: Xrm.Events.EventContext): void {
|
|
|
142
142
|
|
|
143
143
|
The validate-form gate counts a named constant as compliant (the violation is the raw inline
|
|
144
144
|
string, not the FormContext itself). Use `typedForm` whenever one form interface fits; fall back to
|
|
145
|
-
raw FormContext + named constants
|
|
146
|
-
entity
|
|
145
|
+
raw FormContext + named constants for any multi-form script - across entities, or across several
|
|
146
|
+
forms of one entity. For both cases this is the deliberate, supported pattern, not a stopgap. (A
|
|
147
|
+
generated per-entity union FormTypeInfo was considered and deliberately rejected: it would type
|
|
148
|
+
fields the active form may not carry as non-nullable - the false compile-time safety this framework
|
|
149
|
+
exists to prevent. Use named constants + `$unsafe` for nullable access instead.)
|
|
147
150
|
|
|
148
151
|
### 2. Fields Enum for ALL getAttribute/getControl AND select() calls
|
|
149
152
|
|